You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2011/02/01 16:21:52 UTC
DO NOT REPLY [Bug 50699] New: Problem with greek glyphnames using
type1 font for postscript output
https://issues.apache.org/bugzilla/show_bug.cgi?id=50699
Summary: Problem with greek glyphnames using type1 font for
postscript output
Product: Fop
Version: all
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: ps
AssignedTo: fop-dev@xmlgraphics.apache.org
ReportedBy: alpapad@gmail.com
We have an issue regarding the generation of postscript documents
using a custom type1 font in the greek language. The font we tried is
called kerkis (can be found @
http://iris.math.aegean.gr/kerkis/Kerkis_for_LaTeX.zip),
but the same behaviour is observed using true type fonts that we have converted
to type1 using open source tools (like fontforge).
Trying to render the attached sample.fo with the config given, Fop complaints
with the following message:
org.apache.fop.events.LoggingEventListener processEvent WARNING: Glyph "?"
(0x394, Deltagreek) not available in font "Kerkis".
org.apache.fop.events.LoggingEventListener processEvent WARNING: Glyph "O"
(0x3a9, Omegagreek) not available in font "Kerkis".
Our fonts, have glyphs named Omega and Delta - only. Browsing around we found
that basically, the code 0x3a9 is equivalent to 0x2126 (Omega) and 0x394 to
0x2206 (Delta). Apparently there are other codes for the Cyrilic version of
Omega and Delta, that actually "point" to the same glyph. These are all defined
in xmlgraphics-commons library, in org.apache.xmlgraphics.fonts.Glyphs classm
put they point to different glyph names, like:
Omega;2126
Omegacyrillic;0460
Omegagreek;03A9
Omegaroundcyrillic;047A
Omegatitlocyrillic;047C
And
Delta;2206
Deltagreek;0394
Fop uses this class to resolve codes to glyph names, and then uses this name to
look the glyph in the font, thus producing the error you see.
The patch fixes the error, what might be missing, is filling the map with a not
found symbol, for the case were no alternatives were found...
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
DO NOT REPLY [Bug 50699] [PATCH] Problem with greek glyphnames using
type1 font for postscript output
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50699
Alex Giotis <al...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
DO NOT REPLY [Bug 50699] [PATCH] Problem with greek glyphnames using
type1 font for postscript output
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50699
Jeremias Maerki <je...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |PatchAvailable
Status|NEW |RESOLVED
Resolution| |FIXED
Summary|Problem with greek |[PATCH] Problem with greek
|glyphnames using type1 font |glyphnames using type1 font
|for postscript output |for postscript output
--- Comment #2 from Jeremias Maerki <je...@apache.org> 2011-02-02 07:33:02 EST ---
Applied. Thanks!
http://svn.apache.org/viewvc?rev=1066400&view=rev
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
DO NOT REPLY [Bug 50699] Problem with greek glyphnames using type1
font for postscript output
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50699
--- Comment #1 from alpapad@gmail.com 2011-02-02 03:45:01 EST ---
Created an attachment (id=26592)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=26592)
to be appliend on file org.apache.fop.fonts.SingleByteFont.java
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.