Created
October 10, 2016 12:50
-
-
Save tamaina/a786c578b96403fbacbbc0b0c4b8cbb0 to your computer and use it in GitHub Desktop.
フォントに収録されているすべての文字を取得するのに若干の苦労が残った話
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SelectWorthOutputting() | |
str="" | |
code=0 | |
foreach | |
code=GlyphInfo("Unicode") | |
str+=""+code+"," | |
endloop | |
Print(str) | |
# 該当フォントをFontForge Console(←重要)で開いて、スクリプト入力画面で入力→FFを選択→実行→コマンド画面にカンマで区切られた数列をコピー |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
String.fontCharCode(クォーテーションで区切らずコピーした数列を貼り付け) //←どっかに出力する |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment