Hi Mehdi,

Have you looked at pdf_pl.pdf attached to my first post? This is proof that
it's possible to do what I want. The size of this file is < 12kb, definitely
no embedded fonts but all Polish characters are properly printed. I guess
you can't read Polish but compare PDF with JPG and if they look the same you
can't say that there's no way to do that.

I just don't know how to use the same method using FOP.

Regards,

Tomasz



mehdi houshmand wrote:
> 
> Hi Tomasz,
> 
> I could be wrong here, since I haven't tested this myself, but I'm
> pretty sure that currently there's no way to do what you're wanting
> without embedding the font. The Base14Fonts only look like they
> support WinAnsi encoding (with the obvious exception of ZapfDingbats
> and Symbol).
> 
> Hope that helps,
> 
> Mehdi
> 
> On 23 June 2011 13:45, Tomasz Judycki <[email protected]> wrote:
>>
>> Hi!
>>
>> People say that it's not possible to generate a PDF file with Central
>> European characters using only Base14 fonts and that embedding true type
>> fonts is necessary to achieve that. However I managed to do so, using
>> another technology, several years ago. Look at the example
>> http://old.nabble.com/file/p31910912/pdf_pl.pdf pdf_pl.pdf  (it should
>> looks
>> like  http://old.nabble.com/file/p31910912/pdf_pl.jpg pdf_pl.jpg ). This
>> PDF
>> file contains:
>>
>> 4 0 obj
>> <<
>> /Type /Encoding
>> /BaseEncoding /WinAnsiEncoding
>> /Differences [
>> 143 /Zacute
>> 159 /zacute
>> 140 /Sacute
>> 156 /sacute
>> 202 /Eogonek
>> 234 /eogonek
>> 198 /Cacute
>> 230 /cacute
>> 209 /Nacute
>> 241 /nacute
>> 211 /Oacute
>> 243 /oacute
>> 163 /Lslash
>> 179 /lslash
>> 165 /Aogonek
>> 185 /aogonek
>> 175 /Zdotaccent
>> 191 /zdotaccent
>> ]
>>>>
>> endobj
>>
>> The problem was described several times, e.g.:
>> http://old.nabble.com/Using-Central-European-characters-td3739791.html
>> https://issues.apache.org/bugzilla/show_bug.cgi?id=17828
>>
>> It seems that FOP 1.0 implements Central European encoding, for example
>> in
>> src/codegen/fonts/encodings.xml there is definition of CE_ENCODING.
>>
>> The question is: how could I generate PDF from
>> http://old.nabble.com/file/p31910912/pltext.fo pltext.fo  (effect should
>> looks like  http://old.nabble.com/file/p31910912/pltext.jpg pltext.jpg )
>> using just Base14 fonts?
>>
>> I would like to avoid embedding true type fonts to simplify the solution
>> and
>> to keep PDF small. Embedded font means +300kb.
>>
>> Regards,
>>
>> Tomasz Judycki
>>
>> --
>> View this message in context:
>> http://old.nabble.com/Central-European-characters-in-PDF-with-Base14-fonts-tp31910912p31910912.html
>> Sent from the FOP - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Central-European-characters-in-PDF-with-Base14-fonts-tp31910912p31911981.html
Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to