]> git.eshelyaron.com Git - emacs.git/commitdiff
(ps-mule-font-info-database-bdf): Use
authorKenichi Handa <handa@m17n.org>
Thu, 21 Feb 2008 01:57:10 +0000 (01:57 +0000)
committerKenichi Handa <handa@m17n.org>
Thu, 21 Feb 2008 01:57:10 +0000 (01:57 +0000)
ethio16f-uni.bdf for Ethiopic.
(ps-mule-plot-string): Ignore glyph-string based compositions.

lisp/ps-mule.el

index e0bd93070f8f4cc3cde64742fecde50660b54d17..f3bbd5348497af9de89b87db91c1e75729af7243 100644 (file)
@@ -276,7 +276,7 @@ Currently, data for Japanese and Korean PostScript printers are listed.")
     (indian-1-column
      (normal bdf ("ind1c24-mule.bdf" "mule-indian-1col-24.bdf")))
     (ethiopic
-     (normal bdf ("ethio24f-uni.bdf" "ethiomx24f-uni.bdf") unicode-bmp))
+     (normal bdf ("ethio16f-uni.bdf" "ethiomx24f-uni.bdf") unicode-bmp))
     (chinese-cns11643-3
      (normal bdf ("cns3-40.bdf" "cns-3-40.bdf")))
     (chinese-cns11643-4
@@ -661,7 +661,10 @@ the sequence."
   (let* ((average-width (ps-avg-char-width 'ps-font-for-text))
         (point (point))
         (composition (find-composition from to nil t))
-        (stop (if composition (car composition) to))
+        (stop (if (and composition
+                       (not (vectorp (aref (nth 2 composition) 0))))
+                  (car composition)
+                to))
         (ascii-or-latin-1 "[\000-\377]+")
         (run-width 0)
         (endpos nil)