Bug 48395 - [PATCH] Type1 fonts handling with AdobeStandardCyrillic encoding sheme
Summary: [PATCH] Type1 fonts handling with AdobeStandardCyrillic encoding sheme
Alias: None
Product: XMLGraphicsCommons - Now in Jira
Classification: Unclassified
Component: postscript (show other bugs)
Version: Trunk
Hardware: PC Linux
: P2 normal (vote)
Target Milestone: --
Assignee: XML Graphics Project Mailing List
Depends on:
Reported: 2009-12-16 02:24 UTC by Andrey Koltunov
Modified: 2010-03-18 09:43 UTC (History)
0 users

See Also:

cyrillic glyphs support (14.74 KB, patch)
2009-12-16 02:27 UTC, Andrey Koltunov
Details | Diff
corrected version of patch (14.74 KB, patch)
2009-12-16 02:56 UTC, Andrey Koltunov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Koltunov 2009-12-16 02:24:51 UTC
This patch allow to use Type1 Cyrillic fonts in PS.

Method defineAdobeCyrillicEncoding need for using in another patch, adding cyrillic support in FOP (which I also post to bugzilla).
Comment 1 Andrey Koltunov 2009-12-16 02:27:14 UTC
Created attachment 24708 [details]
cyrillic  glyphs support
Comment 2 Andrey Koltunov 2009-12-16 02:56:49 UTC
Created attachment 24710 [details]
corrected version of patch

corrected const in PSFontUtils.defineAdobeCyrillicEncoding
Comment 3 Chris Bowditch 2009-12-16 03:30:23 UTC

thanks for the patch. I don't fully understand its purpose; FOP already supports cyrillic fonts as I've generated PS using cyrillic fonts before. Your patch just seems to offer custom encoding for 1 particular font. Can you elaborate on reasoning behind your patch.


Comment 4 Jeremias Maerki 2010-03-18 09:43:44 UTC
Thanks for your patch, Andrey. Applied to trunk: http://svn.apache.org/viewvc?rev=924674&view=rev

I think it doesn't hurt to have this addition which is why I committed it. FOP can handle cyrillic Type 1 fonts without this but this may offer a way to actually use the fonts primary encoding in the future.