xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pascal Sancho <pascal.san...@takoma.fr>
Subject Re: [FOP 1.0] metrics font, glyph and unicode
Date Fri, 27 Jan 2012 14:51:33 GMT
You can do that using the ArialUni font.

As FOP needs to be fed with an XSL-FO, you have to generate it yourself.
However, I don't know if you can build it with metric file as input,
I've never dived into such file.

Le 27/01/2012 14:24, polymorphisme a écrit :
> 
> Ok thanks,
> 
> I want obtain this file  http://old.nabble.com/file/p33214044/Arial.pdf
> Arial.pdf  with FOP 1.0.
> 
> 
> Pascal Sancho wrote:
>>
>> Hi,
>>
>> I don't understand what you want to do.
>> What is "fntsample"?
>> Where is the "uploaded file"?
>>
>> Note that with FOP 1.0, metric files are required only when you don't
>> want to embed font in PDF.
>> In addition, note also that metrics are the same for both Arial and
>> Helvetica (witch is part of the 14 PDF font base), so they are
>> interchangeable when not embedded (this is done by host system).
>>
>> Le 27/01/2012 12:27, polymorphisme a écrit :
>>>
>>> Hello,
>>>
>>> I want build with FOP a similar file to the upload file (build with
>>> fntsample).
>>> In a first time, I obtain the file metrics Arial.ttf.xml for the fonte
>>> Arial.ttf with the classe org.apache.fop.fonts.apps.TTFReader. 
>>> But after, I don't know the link between tag bf and Unicode.
>>>
>>> <bfranges>
>>>   <bf gi="3" ue="126" us="32"/><bf gi="3" ue="160" us="160"/><bf
gi="98"
>>> ue="172" us="161"/>
>>>   ...
>>> </bfranges>
>>>
>>> Thanks.

-- 
Pascal

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message