0

我想在我的 PDF 查看器(C++ Windows 应用程序)中打印这些字符 PDF 示例恰好包含具有这些DifferenceArray 的“Type1Fonts” ,并且不存在 toUnicodeTable。内容流包含以下 Tj

(\003\026\006)Tj

我必须阅读字符的方式应该是使用“差异数组”

step1:
\003 -> Differences(3) i.e. "afii10021"

step2:
Get the **CustomcharsetIndex** for "afii10021" from "Custom Charset" table

此处显示“自定义字符集”表

获得正确的 CustomcharsetIndex 后,我可以使用 Freetype 库来获取 glyphIndex 并将字形绘制到我的查看器中

int glyphIndex = FT_Get_Char_Index (face, CustomcharsetIndex)

我无法弄清楚“step2”。有什么建议,有没有办法使用 Freetype API 来解决这个问题,因为我有差异字符串“afii10021”(第 1 步)?

4

0 回答 0