[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freetype-devel
Subject:    RE: [ft-devel] FTGL demo problem with Batang font
From:       "Turner, David" <DTurner () nds ! com>
Date:       2005-03-30 8:56:20
Message-ID: 22326A72AE6CF647B89C8371452F6BFACDA4F6 () frex02 ! fr ! nds ! com
[Download RAW message or body]

Hello Kevin,

Batang includes monochrome embedded bitmaps at size 24. I suspect that
you're not correctly checking the type of the data returned by
FT_Load_Glyph() and misinterpret it as either outline or pixmap
data.


Hope this helps,

- David Turner
- The FreeType Project  (www.freetype.org)


> -----Message d'origine-----
> De : freetype-devel-bounces+dturner=nds.com@nongnu.org
> [mailto:freetype-devel-bounces+dturner=nds.com@nongnu.org]De 
> la part de
> Kevin Pang
> Envoyé : lundi 28 mars 2005 23:01
> À : freetype-devel@nongnu.org
> Objet : [ft-devel] FTGL demo problem with Batang font
> 
> 
> Hi,
> 
> I am currently running the latest FTGL and freetype libraries 
> (versions 
> 2.1.2 and 2.1.9 respectively) and have noticed that the 
> "Batang" font is not 
> rendering correctly for certain font sizes.  I have attached 
> screenshots of 
> the FTGL demo running on my machine using the "Batang" font 
> for font sizes 
> 10, 24, and 30 (both the font and the font size were manually 
> changed in the 
> demo.cpp file).
> 
> For those unfamiliar with the FTGL demo, it attempts to 
> display the same 
> string of characters five times, each time using a different 
> rendering 
> technique.  These techniques are, from top to bottom: 
> Outline, Polygon, 
> Texture Mapping, Bitmap, and Pixmap.
> 
> Looking at the screenshots for font sizes 10 and 24, you will 
> notice that 
> the Outline, Polygon, and Texture Mapped text experience a number of 
> problems ranging from not appearing at all (Outline and 
> Polygon in size 24) 
> to rendering white noise (Texture Mapping in size 24).  I was 
> wondering if 
> anyone has experienced this problem before or have any idea what is 
> happening here.  Thanks!
> 
> Kevin
> 
> _________________________________________________________________
> FREE pop-up blocking with the new MSN Toolbar - get it now! 
> http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
> 


_______________________________________________
Freetype-devel mailing list
Freetype-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/freetype-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic