Am Freitag, 1. Dezember 2006 12:02 schrieb Enrico Forestieri: > On Fri, Dec 01, 2006 at 10:17:47AM +0100, Georg Baum wrote: > > > _But_: If we go this way we trust that fi.family() is correct. Then we can > > as well use the attached patch instead. So the question is: Is the comment > > about qt lying in fi.family() still true? > > I think that the comment was due to a misunderstanding.
No, that was not a misunderstanding: http://www.mail-archive.com/lyx-devel%40lists.lyx.org/msg57373.html > When Qt can't > find a requested family it always returns another one, and this could > be interpreted as "lying". Well, the whole purpose of this test was to find out whether it found the correct font. With that interpretation of lying the test would not make sense. > I also tought about reducing the code as you did, but I did not dared... > > Maybe your patch could be augmented like the attached? That is OK with me, provided you find out that the comment about lying QFontInfo is not true anymore. John Levon, are you listening? Do you know whether that is the case? Georg