>> 1) FT_Init_FreeType >> 2) FT_Library_SetLcdFilter (how many people forget this already) >> 3) FT_Property_Set >> 4) FT_Set_SvgHooks (at least use FT_Property_Set instead) > > > Quite on the contrary. Since FreeType is the kind of library that needs > explicit initialization anyway, adding one more line there is trivial. Some > libraries (like HarfBuzz) don't have explicit initializations. It would be > more annoying in those libraries if something similar was required...
FreeType has 20 modules currently. Luckily, they are designed without explicit initialization. The world could have been much uglier indeed with just one extra line for each module. My hands are itching to make FT_Library_SetLcdFilter unnecessary in 2 weeks when *all* *patents* *expire* in the US. _______________________________________________ Freetype-devel mailing list Freetype-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/freetype-devel