On 28 Jun 2007, at 17:37, Alvin wrote: > I'm not sure what I did to my X setup, but all my fltk apps have > tiny font. > I check in FLUID (and the cxx source) and the font is set to 14 pt. > When I > run the fltk app, the font is more like 8 pt perhaps even 6 pt. > > In KDE, my default desktop environment, the KDE apps look fine. > > This has recently happened, but I just cannot seem to figure what > the cause. > > Has this happened to anyone else? I'm using X 7.2, with KDE 3.5.7 in > openSUSE 10.2 > > To make matters more of a head-scratcher, the FLTK apps look normal on > another machine with the same setup (X 7.2, openSUSE 10.2, KDE). > > Anyone have any ideas?
Fltk measures fonts in pixels rather than point sizes - and IIRC it attempts to honour the dpi reported by the display when working the font pixel scaling out - so if your Xserver is reporting an inappropriate dpi value, that might throw things off, e.g. if it reports 300dpi when it should be reporting 75dpi, or etc... Or I could be talking nonsense, or thinking of the OSX port, or something else entirely! -- Ian _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

