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 2009/12/16 11:31:15 UTC
DO NOT REPLY [Bug 48396] New: Type1 fonts handling with
AdobeStandardCyrillic encoding sheme
https://issues.apache.org/bugzilla/show_bug.cgi?id=48396
Summary: Type1 fonts handling with AdobeStandardCyrillic
encoding sheme
Product: Fop
Version: all
Platform: PC
OS/Version: Linux
Status: NEW
Severity: enhancement
Priority: P2
Component: fonts
AssignedTo: fop-dev@xmlgraphics.apache.org
ReportedBy: koldun@id.ru
This patch allow to use Type1 Cyrillic fonts in PS and PDF output.
Linked with patch for xmlgraphics-commons (bug 48395), using method
defineAdobeCyrillicEncoding, added in it.
--
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 48396] [PATCH] Type1 fonts handling with
AdobeStandardCyrillic encoding sheme
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48396
Vincent Hennebert <vh...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Type1 fonts handling with |[PATCH] Type1 fonts
|AdobeStandardCyrillic |handling with
|encoding sheme |AdobeStandardCyrillic
| |encoding sheme
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
Re: DO NOT REPLY [Bug 48396] Type1 fonts handling with AdobeStandardCyrillic encoding sheme
Posted by Andrey V Koltunov <ko...@id.ru>.
Thank you, as I see, xml-metrics files in not really necessary.
I posted a modified version of patch on bugzilla, which correct AFMFiles
handling too.
> Ah, I get it now. You didn't know that the whole PFMReader business is
> no longer necessary. You could have just dropped the metrics-url
> attribute in the font configuration and it would all have worked. Anyway,
> it's probably not a bad idea to still look at your patch.
>
> On 16.12.2009 12:21:27 Andrey V Koltunov wrote:
> > Cyrillic fonts working great in case of PDF output and TrueType fonts
> > using.
> >
> > But I need to use Type1 fonts.
> >
> > First of all, PFMReader utility does not know about Cyrillic charset.
> > When I tried to build xml-metrics file, output look like this:
> > Unknown charset detected (204, 0xcc). Trying fallback to WinAnsi.
> >
> > Also I found, that FOP does not know anything about cyrillic glyph names.
> >
> > Some docs about this:
> > http://www.adobe.com/devnet/opentype/archives/non_latin.html
> > http://www.adobe.com/devnet/font/pdfs/5013.Cyrillic_Font_Spec.pdf
> >
> > > https://issues.apache.org/bugzilla/show_bug.cgi?id=48396
> > >
> > > --- Comment #2 from Jeremias Maerki <je...@apache.org> 2009-12-16
> > > 02:57:44 UTC --- Andrey, I'm a bit surprised about this patch. I've
> > > invested considerable effort some time ago to make cyrillic fonts work.
> > > What was your motivation to add the "AdobeStandardCyrillic" encoding?
> > > Was something not working as it should have? I'm not criticizing, just
> > > trying to understand.
> > >
> > > Thanks anyway for contributing to FOP! I hope I have time soon to look
> > > at the patch. Of course, other committers are allowed to process this
> > > patch before that if they have time.
>
> Jeremias Maerki
Re: DO NOT REPLY [Bug 48396] Type1 fonts handling with AdobeStandardCyrillic encoding sheme
Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
Ah, I get it now. You didn't know that the whole PFMReader business is
no longer necessary. You could have just dropped the metrics-url
attribute in the font configuration and it would all have worked. Anyway,
it's probably not a bad idea to still look at your patch.
On 16.12.2009 12:21:27 Andrey V Koltunov wrote:
> Cyrillic fonts working great in case of PDF output and TrueType fonts using.
>
> But I need to use Type1 fonts.
>
> First of all, PFMReader utility does not know about Cyrillic charset. When I
> tried to build xml-metrics file, output look like this:
> Unknown charset detected (204, 0xcc). Trying fallback to WinAnsi.
>
> Also I found, that FOP does not know anything about cyrillic glyph names.
>
> Some docs about this:
> http://www.adobe.com/devnet/opentype/archives/non_latin.html
> http://www.adobe.com/devnet/font/pdfs/5013.Cyrillic_Font_Spec.pdf
>
> > https://issues.apache.org/bugzilla/show_bug.cgi?id=48396
> >
> > --- Comment #2 from Jeremias Maerki <je...@apache.org> 2009-12-16
> > 02:57:44 UTC --- Andrey, I'm a bit surprised about this patch. I've
> > invested considerable effort some time ago to make cyrillic fonts work.
> > What was your motivation to add the "AdobeStandardCyrillic" encoding? Was
> > something not working as it should have? I'm not criticizing, just trying
> > to understand.
> >
> > Thanks anyway for contributing to FOP! I hope I have time soon to look at
> > the patch. Of course, other committers are allowed to process this patch
> > before that if they have time.
Jeremias Maerki
Re: DO NOT REPLY [Bug 48396] Type1 fonts handling with AdobeStandardCyrillic encoding sheme
Posted by Andrey V Koltunov <ko...@id.ru>.
Cyrillic fonts working great in case of PDF output and TrueType fonts using.
But I need to use Type1 fonts.
First of all, PFMReader utility does not know about Cyrillic charset. When I
tried to build xml-metrics file, output look like this:
Unknown charset detected (204, 0xcc). Trying fallback to WinAnsi.
Also I found, that FOP does not know anything about cyrillic glyph names.
Some docs about this:
http://www.adobe.com/devnet/opentype/archives/non_latin.html
http://www.adobe.com/devnet/font/pdfs/5013.Cyrillic_Font_Spec.pdf
> https://issues.apache.org/bugzilla/show_bug.cgi?id=48396
>
> --- Comment #2 from Jeremias Maerki <je...@apache.org> 2009-12-16
> 02:57:44 UTC --- Andrey, I'm a bit surprised about this patch. I've
> invested considerable effort some time ago to make cyrillic fonts work.
> What was your motivation to add the "AdobeStandardCyrillic" encoding? Was
> something not working as it should have? I'm not criticizing, just trying
> to understand.
>
> Thanks anyway for contributing to FOP! I hope I have time soon to look at
> the patch. Of course, other committers are allowed to process this patch
> before that if they have time.
DO NOT REPLY [Bug 48396] Type1 fonts handling with
AdobeStandardCyrillic encoding sheme
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48396
--- Comment #2 from Jeremias Maerki <je...@apache.org> 2009-12-16 02:57:44 UTC ---
Andrey, I'm a bit surprised about this patch. I've invested considerable effort
some time ago to make cyrillic fonts work. What was your motivation to add the
"AdobeStandardCyrillic" encoding? Was something not working as it should have?
I'm not criticizing, just trying to understand.
Thanks anyway for contributing to FOP! I hope I have time soon to look at the
patch. Of course, other committers are allowed to process this patch before
that if they have time.
--
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 48396] Type1 fonts handling with
AdobeStandardCyrillic encoding sheme
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48396
--- Comment #1 from Andrey Koltunov <ko...@id.ru> 2009-12-16 02:32:19 UTC ---
Created an attachment (id=24709)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=24709)
cyrillic glyphs and encoding support
--
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 48396] [PATCH] Type1 fonts handling with
AdobeStandardCyrillic encoding sheme
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48396
Andrey Koltunov <ko...@id.ru> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #24709|0 |1
is obsolete| |
--- Comment #3 from Andrey Koltunov <ko...@id.ru> 2009-12-16 04:57:02 UTC ---
Created an attachment (id=24711)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=24711)
Version with cyrillic encoding in AFM files parsing
--
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 48396] [PATCH] Type1 fonts handling with
AdobeStandardCyrillic encoding sheme
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48396
Glenn Adams <gl...@skynav.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P2 |P3
--
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 48396] Type1 fonts handling with
AdobeStandardCyrillic encoding sheme
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48396
Andrey Koltunov <ko...@id.ru> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://issues.apache.org/b
| |ugzilla/show_bug.cgi?id=483
| |95
--
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 48396] [PATCH] Type1 fonts handling with
AdobeStandardCyrillic encoding sheme
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48396
--- Comment #4 from Glenn Adams <gl...@skynav.com> 2012-04-07 01:44:12 UTC ---
resetting P2 open bugs to P3 pending further review
--
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 48396] [PATCH] Type1 fonts handling with
AdobeStandardCyrillic encoding sheme
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48396
Glenn Adams <ga...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P2
--- Comment #5 from Glenn Adams <ga...@apache.org> 2012-04-11 03:22:19 UTC ---
increase priority for bugs with a patch
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.