On Fri, Oct 26, 2007 at 01:07:32AM +0200, Sylvain Beucler wrote: > Hi, > > On Thu, Oct 25, 2007 at 01:56:52PM -0700, Steve Langasek wrote: > > Hi Sylvain, > > > > On Tue, Oct 23, 2007 at 10:12:46PM +0200, Sylvain Beucler wrote: > > > > > I use FreeType through SDL_ttf for game programming, and I noticed > > > that the font weight is not the same depending on which version of > > > FreeType is currently installed: > > > - 2.3.5 from source [1] > > > - 2.3.5 from libfreetype6 > > > > > Attached, 2 screenshots using the 2 different font engines > > > successively. > > > > > The Debian version is much thiner, which makes the text difficult to > > > read in some areas of the game. In the editor, this means I don't know > > > how much text can be displayed without going offscreen. > > > > > Does the Debian package change anything to the default font weight? > > > > The Debian package enables the full bytecode interpreter, which is not > > enabled upstream by default. We don't otherwise presume to fiddle with the > > weights of fonts, no. Which font are you using in this example? > > 2 fonts are used in this example actually: > > - in the game, LiberationSans-Regular.ttf (from > http://www.redhat.com/promo/fonts/) > > - in the title bar, this is Gnome's default font, which the Fonts > preferences dialog identifies as "Sans", Bold version. (theme is > Industrial, is that's needed). > > > It's debated whether the freetype bytecode interpreter should be enabled, > > but IMHO if it gives bad results with some fonts then that's a bug that > > should be fixed in the fonts, because freetype is in this case only using > > the information provided by that font. > > I'll try to recompile freetype with the bytecode interpreter enabled, > and with a different font for the game. Would you recommend testing > with a font in particular?
freetype-bytecode-interpreter.patch indeed triggers the weight change. This is an issue but, I guess, not a Debian issue. Thanks! -- Sylvain -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]