freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] Fonts with partial-coverage bitmap strikes


From: Werner LEMBERG
Subject: Re: [ft-devel] Fonts with partial-coverage bitmap strikes
Date: Wed, 31 Oct 2007 20:05:24 +0100 (CET)

> I'd like to be able to know when Freetype will use a strike size for
> an FT_Face after the size has been specified. This will let me
> select monochrome rendering for any glyphs which don't happen to
> have bitmaps in the strike.  [...]
> 
> I'd much rather just get the strike_index somehow and check for !=
> 0xffff.  Would that be a reasonable API to add?
> 
>   FT_UInt
>   FT_Get_Strike_Index (FT_Face face);
> 
> return -1 for not using any strike, otherwise the index into the
> available_sizes array.

Looks fine.  Can you provide a patch which implements that?


    Werner




reply via email to

[Prev in Thread] Current Thread [Next in Thread]