nanogui: freetype2 in portrait mode doesnt work
Subject:
Re: [nanogui] freetype2 in portrait mode doesnt work
From:
"Greg Haerr" ####@####.####
Date:
22 Jun 2006 18:30:51 +0100
Message-Id: <125701c69620$cc9eb1f0$0300a8c0@RDP>
: I enabled portrait mode in mwin/winmain.c with
: GdSetPortraitMode(psd,MWPORTRAIT_RIGHT);
:
: Normal grapic output is ok, but no ttf output is visible.
:
: Without portrait mode everything is working.
: I am using framebuffer with MWPF_TRUECOLOR565 and freetype-2.1.3 on
: mipsel-linux.
That's pretty strange, but the TTF font engine uses GdBlit to
display font glyphs, and it sounds like that's where the problem
lies. I would think it would just display incorrect orientation,
rather than no display. Are you getting any screen output where
the text should be? What color?
Check the GdBlit call in engine/font_freetype.c for more details.
Regards,
Greg