Class OdfFontSegmenter
Provides the OdfFontSegmenter API. 提供針對 CNS 11643 中文標準交換碼字型之文字分段與對應工具。
public static class OdfFontSegmenter
- Inheritance
-
OdfFontSegmenter
- Inherited Members
Methods
GetSupplementaryPlaneFontName(string, int)
Gets supplementary plane font name. 依據基礎字型名稱與 Unicode 平面,取得對應的字型名稱(支援全字庫、花園明朝與字雲等增補平面與罕見字字型)。
public static string GetSupplementaryPlaneFontName(string baseFontFamily, int plane)
Parameters
Returns
- string
對應的字型名稱
SegmentText(string, string)
Performs segment text. 將文字依照 Unicode 字面拆分為多個文字片段,並指派適當的字型名稱。
public static List<(string Text, string FontName)> SegmentText(string text, string defaultFontName)