Re: [IDEA] Facilities to extract TT fonts from TTC font collections

2023-10-25 Thread Francesco Pretto
On Mon, 23 Oct 2023 at 18:13, Behdad Esfahbod wrote: > If you don't need to do this from C necessarily, check out ftCLI: > I need it from C/C++, and I am already doing efficient subsetting[1] on fetched fonts, but thank you anyway (3rd party tools helps debugging). Cheers, Francesco [1]

Re: [IDEA] Facilities to extract TT fonts from TTC font collections

2023-10-25 Thread Francesco Pretto
On Mon, 23 Oct 2023 at 18:35, Werner LEMBERG wrote: > In general, FreeType is not the right tool for such operations. > Yes, I understand the point. Still FreeType provides some validation of the font that one can benefit from, that's why I mainly requested the ability to fetch the Table

Re: [IDEA] Facilities to extract TT fonts from TTC font collections

2023-10-23 Thread Hin-Tak Leung
On Monday, 23 October 2023 at 17:36:09 BST, Werner LEMBERG wrote: > > I recently had to extract a TrueType font from a TTC font collection > > as part of fixing bugs in the podofo library[1]. > In general, FreeType is not the right tool for such operations. > FreeType is a *rendering*

Re: [IDEA] Facilities to extract TT fonts from TTC font collections

2023-10-23 Thread Werner LEMBERG
> I recently had to extract a TrueType font from a TTC font collection > as part of fixing bugs in the podofo library[1]. In general, FreeType is not the right tool for such operations. FreeType is a *rendering* library that provides a thin API for extracting SFNT tables, mainly the ones

Re: [IDEA] Facilities to extract TT fonts from TTC font collections

2023-10-23 Thread Behdad Esfahbod
If you don't need to do this from C necessarily, check out ftCLI: https://github.com/ftCLI/FoundryTools-CLI Or "fonttools ttLib --help" from fonttools: https://github.com/fonttools/fonttools behdad http://behdad.org/ On Mon, Oct 23, 2023 at 6:44 AM Francesco Pretto wrote: > Hello, > >