This commit is contained in:
Kinneyzhang 2025-08-18 00:35:40 +08:00
parent 12b5029bbf
commit 796d3e49d2

3
ekp.el
View File

@ -259,7 +259,8 @@ boxes-widths :glues-types glues-types)."
(cons (ekp-split-string string)) (cons (ekp-split-string string))
(boxes (car cons)) (boxes (car cons))
(hyphen_after_positions (cdr cons)) (hyphen_after_positions (cdr cons))
(boxes-widths (vconcat (mapcar #'string-pixel-width boxes))) (boxes-widths (vconcat
(mapcar #'string-pixel-width boxes)))
(boxes-types (vconcat (mapcar #'ekp-box-type boxes))) (boxes-types (vconcat (mapcar #'ekp-box-type boxes)))
(glues-types (ekp--glues-types boxes boxes-types (glues-types (ekp--glues-types boxes boxes-types
hyphen_after_positions)) hyphen_after_positions))