comparison lisp/ps-mule.el @ 91996:a4c135399649

(ps-mule-font-info-database-bdf): Use ethio16f-uni.bdf for Ethiopic. (ps-mule-plot-string): Ignore glyph-string based compositions.
author Kenichi Handa <handa@m17n.org>
date Thu, 21 Feb 2008 01:57:10 +0000
parents a5480cd50c15
children ee5932bf781d
comparison
equal deleted inserted replaced
91995:9728b70117ff 91996:a4c135399649
274 (indian-is13194 274 (indian-is13194
275 (normal bdf ("isci24-mule.bdf" "mule-iscii-24.bdf"))) 275 (normal bdf ("isci24-mule.bdf" "mule-iscii-24.bdf")))
276 (indian-1-column 276 (indian-1-column
277 (normal bdf ("ind1c24-mule.bdf" "mule-indian-1col-24.bdf"))) 277 (normal bdf ("ind1c24-mule.bdf" "mule-indian-1col-24.bdf")))
278 (ethiopic 278 (ethiopic
279 (normal bdf ("ethio24f-uni.bdf" "ethiomx24f-uni.bdf") unicode-bmp)) 279 (normal bdf ("ethio16f-uni.bdf" "ethiomx24f-uni.bdf") unicode-bmp))
280 (chinese-cns11643-3 280 (chinese-cns11643-3
281 (normal bdf ("cns3-40.bdf" "cns-3-40.bdf"))) 281 (normal bdf ("cns3-40.bdf" "cns-3-40.bdf")))
282 (chinese-cns11643-4 282 (chinese-cns11643-4
283 (normal bdf ("cns4-40.bdf" "cns-4-40.bdf"))) 283 (normal bdf ("cns4-40.bdf" "cns-4-40.bdf")))
284 (chinese-cns11643-5 284 (chinese-cns11643-5
659 Where ENDPOS is the end position of the sequence and RUN-WIDTH is the width of 659 Where ENDPOS is the end position of the sequence and RUN-WIDTH is the width of
660 the sequence." 660 the sequence."
661 (let* ((average-width (ps-avg-char-width 'ps-font-for-text)) 661 (let* ((average-width (ps-avg-char-width 'ps-font-for-text))
662 (point (point)) 662 (point (point))
663 (composition (find-composition from to nil t)) 663 (composition (find-composition from to nil t))
664 (stop (if composition (car composition) to)) 664 (stop (if (and composition
665 (not (vectorp (aref (nth 2 composition) 0))))
666 (car composition)
667 to))
665 (ascii-or-latin-1 "[\000-\377]+") 668 (ascii-or-latin-1 "[\000-\377]+")
666 (run-width 0) 669 (run-width 0)
667 (endpos nil) 670 (endpos nil)
668 (font-spec-table (aref ps-mule-font-spec-tables 671 (font-spec-table (aref ps-mule-font-spec-tables
669 (aref ps-mule-font-number-to-type 672 (aref ps-mule-font-number-to-type