Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

Commit

Permalink
Merge pull request #79 from studioego/SupportKoreanHanja
Browse files Browse the repository at this point in the history
Support Korean Hangul Syllables on han3_ji7_tsoo1_kian3
  • Loading branch information
sih4sing5hong5 authored Apr 23, 2018
2 parents 1c0c2ee + bf7bfa5 commit 2842776
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/main/java/cc/char_indexingtool/FontCorrespondTable.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,17 @@ public class FontCorrespondTable extends MergedFont
"/font/CNS11643/TW-Kai-98_1.ttf",
"/font/CNS11643/TW-Kai-Ext-B-98_1.ttf",
"/font/CNS11643/TW-Kai-Plus-98_1.ttf",
"/font/cdphanzi-2_7/cdpeudck.tte", };
"/font/cdphanzi-2_7/cdpeudck.tte",
"/font/UnFont/UnGungseo.ttf", };
/** 宋體字體下的所在 */
static public final String[] 宋體字體位址表 = new String[] {
"/font/WSL_TPS_Font_101/WSL_TPS.ttf",
"/font/CNS11643/TW-Sung-98_1.ttf",
"/font/CNS11643/TW-Sung-98_1.ttf",
"/font/CNS11643/TW-Sung-Ext-B-98_1.ttf",
"/font/CNS11643/TW-Sung-Plus-98_1.ttf",
"/font/cdphanzi-2_7/cdpeudc.tte", };
"/font/cdphanzi-2_7/cdpeudc.tte",
"/font/NanumFont/NanumMyeongjo.ttf", };
/** 吳守禮注音字體,統一碼佮伊字體內部編碼的對照表 */
static protected final HashMap<Integer, Integer> 吳守禮注音字體對照表;
/** 因為入聲的符號傷細,所以用原本的注音符號,產生入聲編碼佮原本編碼的對照表。 親像「ㆴ」→「ㄅ」、「ㆵ」→「ㄉ」、「ㆶ」→「ㄍ」、「ㆷ」→「ㄏ」。 */
Expand All @@ -51,6 +53,8 @@ public class FontCorrespondTable extends MergedFont
注音字體對照表.add(null);
注音字體對照表.add(null);
注音字體對照表.add(null);
注音字體對照表.add(null);
注音字體對照表.add(null);

吳守禮注音摻楷體字體 = new FontCorrespondTable(楷體字體位址表, 注音字體對照表);
吳守禮注音摻宋體字體 = new FontCorrespondTable(宋體字體位址表, 注音字體對照表);
Expand Down
Binary file added src/main/resources/font/NanumFont/NanumGothic.ttf
Binary file not shown.
Binary file not shown.
Binary file added src/main/resources/font/UnFont/UnGungseo.ttf
Binary file not shown.

0 comments on commit 2842776

Please sign in to comment.