https://issues.apache.org/bugzilla/show_bug.cgi?id=50483

--- Comment #1 from Mehdi Houshmand <med1...@gmail.com> 2010-12-16 08:50:59 EST 
---
If this patch is applied I'll amend the wiki, but in order to invoke full-font
embedding you need to add the embedding-mode attribute to the fop.xconf as
follows for DejaVuSans:

<font embed-url="truetype/ttf-dejavu/DejaVuSans.ttf" embedding-mode="full">
<font-triplet name="DejaVu Sans" style="normal" weight="normal"/>
</font>

for Subsetting you can either do as before:


<font embed-url="truetype/ttf-dejavu/DejaVuSans.ttf">
<font-triplet name="DejaVu Sans" style="normal" weight="normal"/>
</font>

or you can specify:

<font embed-url="truetype/ttf-dejavu/DejaVuSans.ttf" embedding-mode="subset">
<font-triplet name="DejaVu Sans" style="normal" weight="normal"/>
</font>

There is also embedding-mode="auto" which defaults to subsetting a font. Also,
for anyone interested, the reason /sfnts wasn't previously working was because
there were several bugs with the previous implementation (this patch fixes
them). The /sfnts process is perfectly valid and has worked with all the fonts
I have tested which include ASCII, CJK and Thai glyphs.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to