[XeTeX] Bug in fontspec's \newfontfamily?

Peter Dyballa Peter_Dyballa at Web.DE
Sun May 24 10:53:32 CEST 2009


Am 24.05.2009 um 10:15 schrieb Pander:

> Is that the way fontspec is doing it?

No, it's you! You are allocating some anonymous font descriptor. And  
later you are again allocating an anonymous font descriptor. Both (or  
more) times the same font is used, but there is no means to determine  
in the programme exactly that it's the same font (at least it would  
cost some measurable amount of time). Every time therefore a new font  
descriptor (ID card) is issued. And because of this (large) amount of  
font descriptors the output driver has no other choice than to embed  
a font for each font descriptor used. And by chance (really?) it  
could happen that it's x times the same font ...

> If there is no benefit, would this be a bug in fontspec?


No, it's a bug in the fontspec user, not planning the document, not  
criticizing its almost finished state.

--
Greetings

   Pete

The most exciting phrase to hear in science, the one that heralds new  
discoveries, is not "Eureka!" (I found it!) but "That's funny..."
				– Isaac Asimov





More information about the XeTeX mailing list