public class MyFontDecryptUtil extends Object
| 构造器和说明 |
|---|
MyFontDecryptUtil() |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
fetchFromGlyphs(org.apache.fontbox.ttf.CmapLookup cmap,
String glyphs)
字体解密(默认,未打乱编码映射)
|
static String |
fetchFromGlyphs(cn.hutool.core.lang.Dict gmap,
org.apache.fontbox.ttf.CmapLookup cmap,
String glyphs)
字体解密(默认,自定义编码映射)
|
static org.apache.fontbox.ttf.CmapLookup |
getUnicodeCmapLookupFromTTF(byte[] bytes)
获取字典
|
static org.apache.fontbox.ttf.CmapLookup |
getUnicodeCmapLookupFromTTF(InputStream in)
获取字典
|
static org.apache.fontbox.ttf.CmapLookup |
getUnicodeCmapLookupFromTTF(String url)
获取字典
|
public static final org.apache.fontbox.ttf.CmapLookup getUnicodeCmapLookupFromTTF(String url)
url - public static final org.apache.fontbox.ttf.CmapLookup getUnicodeCmapLookupFromTTF(byte[] bytes)
bytes - public static final org.apache.fontbox.ttf.CmapLookup getUnicodeCmapLookupFromTTF(InputStream in)
in - public static final String fetchFromGlyphs(org.apache.fontbox.ttf.CmapLookup cmap, String glyphs)
cmap - glyphs - Copyright © 2021. All rights reserved.