[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Free type "invalid glyphs"
From: |
Werner LEMBERG |
Subject: |
Re: Free type "invalid glyphs" |
Date: |
Fri, 12 Aug 2022 12:06:52 +0000 (UTC) |
> I have found that FT_Get_Char_Index will explicitly return 0 for
> 'missing' characters which is the fix for the issue. I am using
> FT_Load_Char but should that really return a valid construct for an
> "invalid" character?
Why not? Go to a Wikipedia site for a foreign language without proper
font support, and you will usually see an ocean of rectangles for
missing glyphs. This is far better than simply omitting them – how
shall the user know that something is not OK?
Werner