[JW Lua] Reading the FontInfo from FCShapeDef - solved
Jan Angermüller
jan at angermueller.com
Tue May 5 23:51:43 CEST 2015
It seems like FCFontPrefs was the solution.
It has the load function I was looking for. The first number from the
instruction SetFont is the load-ID, second is the font size and third
are the nfx bits. Seems to work...
Am 05.05.2015 um 18:55 schrieb Jan Angermüller:
> Jari,
>
> is it already possible to get the FontInfo from an FCShapeDef through
> any workaround ?
> It's not implemented yet in FCShapeDef. But maybe I can use the
> available data from the shape instructions to reconstruct the correct
> fontinfo ?
>
> I know that 29542 is the setfont instruction tag, followed by a few
> numbers which probably identify the FontInfo object. But FCFontInfo
> doesn't have a load function. Hm... ?
>
> If it is not possible, could you please add the
> FCShapeDef:GetFontInfo() to your next beta ?
>
> Best regards,
> Jan
>
> _______________________________________________
> JWLua mailing list
> JWLua at jwmusic.nu
> http://jwmusic.nu/mailman/listinfo/jwlua_jwmusic.nu
>
--
Jan Angermüller
Jevenstedter Str. 80
22547 Hamburg
Tel. 040 - 28 94 84 82
www.angermueller.com
More information about the JWLua
mailing list