[DVIPDFMx] same font embedded many times

Jin-Hwan Cho jinhwan.cho at gmail.com
Mon Jan 18 13:06:33 KST 2010


Hi, Pablo.

As you pointed out, xdvipdfmx embeds the same font many times in the case of
+embolden feature.

Actually, the source code of dvipdfmx and xdvipdfmx for this part is different.
It means that xdvipdfmx has its own way to handle OpenType and TrueType fonts
using freetype library.

My urgent TODO list contains merging dvipdfmx and xdvipdfmx. Jonathan and I
agreed to do so at the last TUG 2009 conference. Unfortunately, I could not find
enough time for that work yet.

I will remember your report when I start to merge the two utilities.

Thanks a lot, ChoF.

On Jan 16, 2010, at 5:39 PM, Pablo Rodríguez wrote:

> Hi there,
> 
> I'm reporting this issue since it seems to be a bug in xdvipdfmx that
> might be common to dvidpfmx.
> 
> For some strange reason, when using the +embolden feature within XeTeX
> in fonts with TrueType outlines and changing sizes the font is embedded
> as many times as the font size changes. I guess this might be a bug.
> 
> This doesn't happen in fonts with PostScript outlines.
> 
> A minimal sample:
> 
> \documentclass{article}
> \usepackage{fontspec}
> \setmainfont[FakeBold=2]{Droid Sans Mono}
> \begin{document}
> hi \textbf{hi}{\large hi \textbf{hi}}{\small hi \textbf{hi}}{\tiny hi
> \textbf{hi}}{\Large hi \textbf{hi}}{\huge hi \textbf{hi}}
> \end{document}
> 
> I hope it helps,
> 
> 
> Pablo
> _______________________________________________
> dvipdfmx mailing list
> dvipdfmx at ktug.or.kr
> http://project.ktug.or.kr/mailman/listinfo/dvipdfmx



More information about the dvipdfmx mailing list