|
From: | duhuanpeng |
Subject: | Re: [ft-devel] How to map a char to glyph with pcf |
Date: | Sat, 24 Mar 2018 12:58:36 +0800 |
Hi, I still using my "ad-hoc" code to dealing this mapping. XD >> [3] buf --> Glyph Index > >Yes. In FreeType, after selecting the character map, you can now use >`FT_Load_Char' to map a (16bit) code value in `buf' to a glyph index. Do you mean : FT_Error FT_Select_Charmap(FT_Face face, FT_Encoding encoding); I tried it, https://paste.ubuntu.com/p/trZNMgwccR/ but I get error code 6. Is there some sample code? duhuanpeng
gothic14.pcf.Z
Description: Binary data
song14.pcf.Z
Description: Binary data
gotm14pcfZ.c
Description: Text document
gothic14pcfZ.c
Description: Text document
song14pcfZ.c
Description: Text document
gotm14.pcf.Z
Description: Binary data
[Prev in Thread] | Current Thread | [Next in Thread] |