From e0c18a8ed70f82c978374034c5316d9e55eb1921 Mon Sep 17 00:00:00 2001 From: Ken Lunde Date: Wed, 2 Mar 2016 12:21:37 -0800 Subject: [PATCH] Added files and commands for building style-linked Regular/Bold fonts --- Bold/OTC/cidfontinfo.OTC.HW.J.SL | 23 ++++++ Bold/OTC/cidfontinfo.OTC.HW.K.SL | 23 ++++++ Bold/OTC/cidfontinfo.OTC.HW.SC.SL | 23 ++++++ Bold/OTC/cidfontinfo.OTC.HW.TC.SL | 23 ++++++ Bold/OTC/cidfontinfo.OTC.J.SL | 23 ++++++ Bold/OTC/cidfontinfo.OTC.K.SL | 23 ++++++ Bold/OTC/cidfontinfo.OTC.SC.SL | 23 ++++++ Bold/OTC/cidfontinfo.OTC.TC.SL | 23 ++++++ Bold/cidfontinfo.CN.SL | 24 +++++++ Bold/cidfontinfo.JP.SL | 24 +++++++ Bold/cidfontinfo.KR.SL | 24 +++++++ Bold/cidfontinfo.TW.SL | 24 +++++++ COMMANDS.txt | 113 +++++++++++++++++++++++++++++- FontMenuNameDB.HW.SL | 47 +++++++++++++ FontMenuNameDB.SL | 47 +++++++++++++ FontMenuNameDB.SUBSET.SL | 47 +++++++++++++ 16 files changed, 533 insertions(+), 1 deletion(-) create mode 100644 Bold/OTC/cidfontinfo.OTC.HW.J.SL create mode 100644 Bold/OTC/cidfontinfo.OTC.HW.K.SL create mode 100644 Bold/OTC/cidfontinfo.OTC.HW.SC.SL create mode 100644 Bold/OTC/cidfontinfo.OTC.HW.TC.SL create mode 100644 Bold/OTC/cidfontinfo.OTC.J.SL create mode 100644 Bold/OTC/cidfontinfo.OTC.K.SL create mode 100644 Bold/OTC/cidfontinfo.OTC.SC.SL create mode 100644 Bold/OTC/cidfontinfo.OTC.TC.SL create mode 100644 Bold/cidfontinfo.CN.SL create mode 100644 Bold/cidfontinfo.JP.SL create mode 100644 Bold/cidfontinfo.KR.SL create mode 100644 Bold/cidfontinfo.TW.SL create mode 100644 FontMenuNameDB.HW.SL create mode 100644 FontMenuNameDB.SL create mode 100644 FontMenuNameDB.SUBSET.SL diff --git a/Bold/OTC/cidfontinfo.OTC.HW.J.SL b/Bold/OTC/cidfontinfo.OTC.HW.J.SL new file mode 100644 index 0000000..efc8f6d --- /dev/null +++ b/Bold/OTC/cidfontinfo.OTC.HW.J.SL @@ -0,0 +1,23 @@ +FontName (SourceHanSansHW-Bold) +FullName (Source Han Sans HW Bold) +FamilyName (Source Han Sans HW) +Weight (Bold) +version (1.004) +Registry (Adobe) +Ordering (Identity) +Supplement 0 +XUID [1 11 9274398] +Layout (AI0-SourceHanSans) +FSType 0 +isFixedPitch false +UnderlinePosition -150 +AdobeCopyright (Copyright 2014, 2015 Adobe Systems Incorporated (http://www.adobe.com/), with Reserved Font Name 'Source'.) +Trademark (Source is a trademark of Adobe Systems Incorporated in the United States and/or other countries.) +Serif false +IsBoldStyle true +IsItalicStyle false +PreferOS/2TypoMetrics false +IsOS/2WidthWeigthSlopeOnly false +IsOS/2OBLIQUE false +UseOldNameID4 false +LicenseCode ADOBE diff --git a/Bold/OTC/cidfontinfo.OTC.HW.K.SL b/Bold/OTC/cidfontinfo.OTC.HW.K.SL new file mode 100644 index 0000000..9b772fa --- /dev/null +++ b/Bold/OTC/cidfontinfo.OTC.HW.K.SL @@ -0,0 +1,23 @@ +FontName (SourceHanSansHWK-Bold) +FullName (Source Han Sans HW Korean Bold) +FamilyName (Source Han Sans HW Korean) +Weight (Bold) +version (1.004) +Registry (Adobe) +Ordering (Identity) +Supplement 0 +XUID [1 11 9274400] +Layout (AI0-SourceHanSans) +FSType 0 +isFixedPitch false +UnderlinePosition -150 +AdobeCopyright (Copyright 2014, 2015 Adobe Systems Incorporated (http://www.adobe.com/), with Reserved Font Name 'Source'.) +Trademark (Source is a trademark of Adobe Systems Incorporated in the United States and/or other countries.) +Serif false +IsBoldStyle true +IsItalicStyle false +PreferOS/2TypoMetrics false +IsOS/2WidthWeigthSlopeOnly false +IsOS/2OBLIQUE false +UseOldNameID4 false +LicenseCode ADOBE diff --git a/Bold/OTC/cidfontinfo.OTC.HW.SC.SL b/Bold/OTC/cidfontinfo.OTC.HW.SC.SL new file mode 100644 index 0000000..3975419 --- /dev/null +++ b/Bold/OTC/cidfontinfo.OTC.HW.SC.SL @@ -0,0 +1,23 @@ +FontName (SourceHanSansHWSC-Bold) +FullName (Source Han Sans HW Simplified Chinese Bold) +FamilyName (Source Han Sans HW Simplified Chinese) +Weight (Bold) +version (1.004) +Registry (Adobe) +Ordering (Identity) +Supplement 0 +XUID [1 11 9274402] +Layout (AI0-SourceHanSans) +FSType 0 +isFixedPitch false +UnderlinePosition -150 +AdobeCopyright (Copyright 2014, 2015 Adobe Systems Incorporated (http://www.adobe.com/), with Reserved Font Name 'Source'.) +Trademark (Source is a trademark of Adobe Systems Incorporated in the United States and/or other countries.) +Serif false +IsBoldStyle true +IsItalicStyle false +PreferOS/2TypoMetrics false +IsOS/2WidthWeigthSlopeOnly false +IsOS/2OBLIQUE false +UseOldNameID4 false +LicenseCode ADOBE diff --git a/Bold/OTC/cidfontinfo.OTC.HW.TC.SL b/Bold/OTC/cidfontinfo.OTC.HW.TC.SL new file mode 100644 index 0000000..bc8a25c --- /dev/null +++ b/Bold/OTC/cidfontinfo.OTC.HW.TC.SL @@ -0,0 +1,23 @@ +FontName (SourceHanSansHWTC-Bold) +FullName (Source Han Sans HW Traditional Chinese Bold) +FamilyName (Source Han Sans HW Traditional Chinese) +Weight (Bold) +version (1.004) +Registry (Adobe) +Ordering (Identity) +Supplement 0 +XUID [1 11 9274404] +Layout (AI0-SourceHanSans) +FSType 0 +isFixedPitch false +UnderlinePosition -150 +AdobeCopyright (Copyright 2014, 2015 Adobe Systems Incorporated (http://www.adobe.com/), with Reserved Font Name 'Source'.) +Trademark (Source is a trademark of Adobe Systems Incorporated in the United States and/or other countries.) +Serif false +IsBoldStyle true +IsItalicStyle false +PreferOS/2TypoMetrics false +IsOS/2WidthWeigthSlopeOnly false +IsOS/2OBLIQUE false +UseOldNameID4 false +LicenseCode ADOBE diff --git a/Bold/OTC/cidfontinfo.OTC.J.SL b/Bold/OTC/cidfontinfo.OTC.J.SL new file mode 100644 index 0000000..721f31c --- /dev/null +++ b/Bold/OTC/cidfontinfo.OTC.J.SL @@ -0,0 +1,23 @@ +FontName (SourceHanSans-Bold) +FullName (Source Han Sans Bold) +FamilyName (Source Han Sans) +Weight (Bold) +version (1.004) +Registry (Adobe) +Ordering (Identity) +Supplement 0 +XUID [1 11 9274279] +Layout (AI0-SourceHanSans) +FSType 0 +isFixedPitch false +UnderlinePosition -150 +AdobeCopyright (Copyright 2014, 2015 Adobe Systems Incorporated (http://www.adobe.com/), with Reserved Font Name 'Source'.) +Trademark (Source is a trademark of Adobe Systems Incorporated in the United States and/or other countries.) +Serif false +IsBoldStyle true +IsItalicStyle false +PreferOS/2TypoMetrics false +IsOS/2WidthWeigthSlopeOnly false +IsOS/2OBLIQUE false +UseOldNameID4 false +LicenseCode ADOBE diff --git a/Bold/OTC/cidfontinfo.OTC.K.SL b/Bold/OTC/cidfontinfo.OTC.K.SL new file mode 100644 index 0000000..2044679 --- /dev/null +++ b/Bold/OTC/cidfontinfo.OTC.K.SL @@ -0,0 +1,23 @@ +FontName (SourceHanSansK-Bold) +FullName (Source Han Sans Korean Bold) +FamilyName (Source Han Sans Korean) +Weight (Bold) +version (1.004) +Registry (Adobe) +Ordering (Identity) +Supplement 0 +XUID [1 11 9274356] +Layout (AI0-SourceHanSans) +FSType 0 +isFixedPitch false +UnderlinePosition -150 +AdobeCopyright (Copyright 2014, 2015 Adobe Systems Incorporated (http://www.adobe.com/), with Reserved Font Name 'Source'.) +Trademark (Source is a trademark of Adobe Systems Incorporated in the United States and/or other countries.) +Serif false +IsBoldStyle true +IsItalicStyle false +PreferOS/2TypoMetrics false +IsOS/2WidthWeigthSlopeOnly false +IsOS/2OBLIQUE false +UseOldNameID4 false +LicenseCode ADOBE diff --git a/Bold/OTC/cidfontinfo.OTC.SC.SL b/Bold/OTC/cidfontinfo.OTC.SC.SL new file mode 100644 index 0000000..adf99e1 --- /dev/null +++ b/Bold/OTC/cidfontinfo.OTC.SC.SL @@ -0,0 +1,23 @@ +FontName (SourceHanSansSC-Bold) +FullName (Source Han Sans Simplified Chinese Bold) +FamilyName (Source Han Sans Simplified Chinese) +Weight (Bold) +version (1.004) +Registry (Adobe) +Ordering (Identity) +Supplement 0 +XUID [1 11 9274363] +Layout (AI0-SourceHanSans) +FSType 0 +isFixedPitch false +UnderlinePosition -150 +AdobeCopyright (Copyright 2014, 2015 Adobe Systems Incorporated (http://www.adobe.com/), with Reserved Font Name 'Source'.) +Trademark (Source is a trademark of Adobe Systems Incorporated in the United States and/or other countries.) +Serif false +IsBoldStyle true +IsItalicStyle false +PreferOS/2TypoMetrics false +IsOS/2WidthWeigthSlopeOnly false +IsOS/2OBLIQUE false +UseOldNameID4 false +LicenseCode ADOBE diff --git a/Bold/OTC/cidfontinfo.OTC.TC.SL b/Bold/OTC/cidfontinfo.OTC.TC.SL new file mode 100644 index 0000000..2d0a11f --- /dev/null +++ b/Bold/OTC/cidfontinfo.OTC.TC.SL @@ -0,0 +1,23 @@ +FontName (SourceHanSansTC-Bold) +FullName (Source Han Sans Traditional Chinese Bold) +FamilyName (Source Han Sans Traditional Chinese) +Weight (Bold) +version (1.004) +Registry (Adobe) +Ordering (Identity) +Supplement 0 +XUID [1 11 9274370] +Layout (AI0-SourceHanSans) +FSType 0 +isFixedPitch false +UnderlinePosition -150 +AdobeCopyright (Copyright 2014, 2015 Adobe Systems Incorporated (http://www.adobe.com/), with Reserved Font Name 'Source'.) +Trademark (Source is a trademark of Adobe Systems Incorporated in the United States and/or other countries.) +Serif false +IsBoldStyle true +IsItalicStyle false +PreferOS/2TypoMetrics false +IsOS/2WidthWeigthSlopeOnly false +IsOS/2OBLIQUE false +UseOldNameID4 false +LicenseCode ADOBE diff --git a/Bold/cidfontinfo.CN.SL b/Bold/cidfontinfo.CN.SL new file mode 100644 index 0000000..e60f686 --- /dev/null +++ b/Bold/cidfontinfo.CN.SL @@ -0,0 +1,24 @@ +FontName (SourceHanSansCN-Bold) +FullName (Source Han Sans CN Bold) +FamilyName (Source Han Sans CN) +Weight (Bold) +version (1.004) +Registry (Adobe) +Ordering (Identity) +Supplement 0 +XUID [1 11 9274300] +Layout (AI0-SourceHanSans) +Subset (AI0-SourceHanSans.CN) +FSType 0 +isFixedPitch false +UnderlinePosition -150 +AdobeCopyright (Copyright 2014, 2015 Adobe Systems Incorporated (http://www.adobe.com/), with Reserved Font Name 'Source'.) +Trademark (Source is a trademark of Adobe Systems Incorporated in the United States and/or other countries.) +Serif false +IsBoldStyle true +IsItalicStyle false +PreferOS/2TypoMetrics false +IsOS/2WidthWeigthSlopeOnly false +IsOS/2OBLIQUE false +UseOldNameID4 false +LicenseCode ADOBE diff --git a/Bold/cidfontinfo.JP.SL b/Bold/cidfontinfo.JP.SL new file mode 100644 index 0000000..40deea7 --- /dev/null +++ b/Bold/cidfontinfo.JP.SL @@ -0,0 +1,24 @@ +FontName (SourceHanSansJP-Bold) +FullName (Source Han Sans JP Bold) +FamilyName (Source Han Sans JP) +Weight (Bold) +version (1.004) +Registry (Adobe) +Ordering (Identity) +Supplement 0 +XUID [1 11 9274286] +Layout (AI0-SourceHanSans) +Subset (AI0-SourceHanSans.JP) +FSType 0 +isFixedPitch false +UnderlinePosition -150 +AdobeCopyright (Copyright 2014, 2015 Adobe Systems Incorporated (http://www.adobe.com/), with Reserved Font Name 'Source'.) +Trademark (Source is a trademark of Adobe Systems Incorporated in the United States and/or other countries.) +Serif false +IsBoldStyle true +IsItalicStyle false +PreferOS/2TypoMetrics false +IsOS/2WidthWeigthSlopeOnly false +IsOS/2OBLIQUE false +UseOldNameID4 false +LicenseCode ADOBE diff --git a/Bold/cidfontinfo.KR.SL b/Bold/cidfontinfo.KR.SL new file mode 100644 index 0000000..7f7e851 --- /dev/null +++ b/Bold/cidfontinfo.KR.SL @@ -0,0 +1,24 @@ +FontName (SourceHanSansKR-Bold) +FullName (Source Han Sans KR Bold) +FamilyName (Source Han Sans KR) +Weight (Bold) +version (1.004) +Registry (Adobe) +Ordering (Identity) +Supplement 0 +XUID [1 11 9274293] +Layout (AI0-SourceHanSans) +Subset (AI0-SourceHanSans.KR) +FSType 0 +isFixedPitch false +UnderlinePosition -150 +AdobeCopyright (Copyright 2014, 2015 Adobe Systems Incorporated (http://www.adobe.com/), with Reserved Font Name 'Source'.) +Trademark (Source is a trademark of Adobe Systems Incorporated in the United States and/or other countries.) +Serif false +IsBoldStyle true +IsItalicStyle false +PreferOS/2TypoMetrics false +IsOS/2WidthWeigthSlopeOnly false +IsOS/2OBLIQUE false +UseOldNameID4 false +LicenseCode ADOBE diff --git a/Bold/cidfontinfo.TW.SL b/Bold/cidfontinfo.TW.SL new file mode 100644 index 0000000..f70375f --- /dev/null +++ b/Bold/cidfontinfo.TW.SL @@ -0,0 +1,24 @@ +FontName (SourceHanSansTW-Bold) +FullName (Source Han Sans TW Bold) +FamilyName (Source Han Sans TW) +Weight (Bold) +version (1.004) +Registry (Adobe) +Ordering (Identity) +Supplement 0 +XUID [1 11 9274307] +Layout (AI0-SourceHanSans) +Subset (AI0-SourceHanSans.TW) +FSType 0 +isFixedPitch false +UnderlinePosition -150 +AdobeCopyright (Copyright 2014, 2015 Adobe Systems Incorporated (http://www.adobe.com/), with Reserved Font Name 'Source'.) +Trademark (Source is a trademark of Adobe Systems Incorporated in the United States and/or other countries.) +Serif false +IsBoldStyle true +IsItalicStyle false +PreferOS/2TypoMetrics false +IsOS/2WidthWeigthSlopeOnly false +IsOS/2OBLIQUE false +UseOldNameID4 false +LicenseCode ADOBE diff --git a/COMMANDS.txt b/COMMANDS.txt index 6e546b8..5152caf 100644 --- a/COMMANDS.txt +++ b/COMMANDS.txt @@ -1,6 +1,6 @@ # Command lines for building Source Han Sans OTFs & OTCs # -# Version 2015-04-20 +# Version 2016-03-02 # # To subroutinize the 'CFF' table, which may take several hours for # the 65,535-glyph fonts, replace "-nS" with "-maxs 30000" in the @@ -35,6 +35,43 @@ makeotf -f cidfont.ps.JP -ff features.JP -fi cidfontinfo.JP -mf ../FontMenuNameD makeotf -f cidfont.ps.KR -ff features.KR -fi cidfontinfo.KR -mf ../FontMenuNameDB.SUBSET -r -nS -cs 3 -ch ../UniSourceHanSansKR-UTF32-H -ci ../SourceHanSans_KR_sequences.txt +### Command lines for building alternate style-linked region-specific subset OTFs +### Executed in Regular + +# Simplified Chinese + +makeotf -f cidfont.ps.CN -ff features.CN -fi cidfontinfo.CN -mf ../FontMenuNameDB.SUBSET.SL -r -nS -cs 25 -ch ../UniSourceHanSansCN-UTF32-H + +# Traditional Chinese (TW) + +makeotf -f cidfont.ps.TW -ff features.TW -fi cidfontinfo.TW -mf ../FontMenuNameDB.SUBSET.SL -r -nS -cs 2 -ch ../UniSourceHanSansTW-UTF32-H -ci ../SourceHanSans_TWHK_sequences.txt + +# Japanese + +makeotf -f cidfont.ps.JP -ff features.JP -fi cidfontinfo.JP -mf ../FontMenuNameDB.SUBSET.SL -r -nS -cs 1 -ch ../UniSourceHanSansJP-UTF32-H -ci ../SourceHanSans_JP_sequences.txt + +# Korean + +makeotf -f cidfont.ps.KR -ff features.KR -fi cidfontinfo.KR -mf ../FontMenuNameDB.SUBSET.SL -r -nS -cs 3 -ch ../UniSourceHanSansKR-UTF32-H -ci ../SourceHanSans_KR_sequences.txt + +### Executed in Bold + +# Simplified Chinese + +makeotf -f cidfont.ps.CN -ff features.CN -fi cidfontinfo.CN.SL -mf ../FontMenuNameDB.SUBSET.SL -r -nS -cs 25 -ch ../UniSourceHanSansCN-UTF32-H + +# Traditional Chinese (TW) + +makeotf -f cidfont.ps.TW -ff features.TW -fi cidfontinfo.TW.SL -mf ../FontMenuNameDB.SUBSET.SL -r -nS -cs 2 -ch ../UniSourceHanSansTW-UTF32-H -ci ../SourceHanSans_TWHK_sequences.txt + +# Japanese + +makeotf -f cidfont.ps.JP -ff features.JP -fi cidfontinfo.JP.SL -mf ../FontMenuNameDB.SUBSET.SL -r -nS -cs 1 -ch ../UniSourceHanSansJP-UTF32-H -ci ../SourceHanSans_JP_sequences.txt + +# Korean + +makeotf -f cidfont.ps.KR -ff features.KR -fi cidfontinfo.KR.SL -mf ../FontMenuNameDB.SUBSET.SL -r -nS -cs 3 -ch ../UniSourceHanSansKR-UTF32-H -ci ../SourceHanSans_KR_sequences.txt + ### Command lines for building the language-specific OTFs ### Executed in {ExtraLight,Light,Normal,Regular,Medium,Bold,Heavy}/OTC @@ -54,6 +91,43 @@ makeotf -f cidfont.ps.OTC.J -ff features.OTC.J -fi cidfontinfo.OTC.J -mf ../../F makeotf -f cidfont.ps.OTC.K -ff features.OTC.K -fi cidfontinfo.OTC.K -mf ../../FontMenuNameDB -r -nS -cs 3 -ch ../../UniSourceHanSansKR-UTF32-H -ci ../../SourceHanSans_KR_sequences.txt +### Command lines for building alternate style-linked language-specific OTFs +### Executed in Regular/OTC + +# Simplified Chinese + +makeotf -f cidfont.ps.OTC.SC -ff features.OTC.SC -fi cidfontinfo.OTC.SC -mf ../../FontMenuNameDB.SL -r -nS -cs 25 -ch ../../UniSourceHanSansCN-UTF32-H + +# Traditional Chinese (TW) + +makeotf -f cidfont.ps.OTC.TC -ff features.OTC.TC -fi cidfontinfo.OTC.TC -mf ../../FontMenuNameDB.SL -r -nS -cs 2 -ch ../../UniSourceHanSansTW-UTF32-H -ci ../../SourceHanSans_TWHK_sequences.txt + +# Japanese + +makeotf -f cidfont.ps.OTC.J -ff features.OTC.J -fi cidfontinfo.OTC.J -mf ../../FontMenuNameDB.SL -r -nS -cs 1 -ch ../../UniSourceHanSansJP-UTF32-H -ci ../../SourceHanSans_JP_sequences.txt + +# Korean + +makeotf -f cidfont.ps.OTC.K -ff features.OTC.K -fi cidfontinfo.OTC.K -mf ../../FontMenuNameDB.SL -r -nS -cs 3 -ch ../../UniSourceHanSansKR-UTF32-H -ci ../../SourceHanSans_KR_sequences.txt + +### Executed in Bold/OTC + +# Simplified Chinese + +makeotf -f cidfont.ps.OTC.SC -ff features.OTC.SC -fi cidfontinfo.OTC.SC.SL -mf ../../FontMenuNameDB.SL -r -nS -cs 25 -ch ../../UniSourceHanSansCN-UTF32-H + +# Traditional Chinese (TW) + +makeotf -f cidfont.ps.OTC.TC -ff features.OTC.TC -fi cidfontinfo.OTC.TC.SL -mf ../../FontMenuNameDB.SL -r -nS -cs 2 -ch ../../UniSourceHanSansTW-UTF32-H -ci ../../SourceHanSans_TWHK_sequences.txt + +# Japanese + +makeotf -f cidfont.ps.OTC.J -ff features.OTC.J -fi cidfontinfo.OTC.J.SL -mf ../../FontMenuNameDB.SL -r -nS -cs 1 -ch ../../UniSourceHanSansJP-UTF32-H -ci ../../SourceHanSans_JP_sequences.txt + +# Korean + +makeotf -f cidfont.ps.OTC.K -ff features.OTC.K -fi cidfontinfo.OTC.K.SL -mf ../../FontMenuNameDB.SL -r -nS -cs 3 -ch ../../UniSourceHanSansKR-UTF32-H -ci ../../SourceHanSans_KR_sequences.txt + ### Command lines for building the language-specific half-width (HW) OTFs ### Executed in {Regular,Bold}/OTC @@ -73,6 +147,43 @@ makeotf -f cidfont.ps.OTC.HW.J -ff features.OTC.J -fi cidfontinfo.OTC.HW.J -mf . makeotf -f cidfont.ps.OTC.HW.K -ff features.OTC.K -fi cidfontinfo.OTC.HW.K -mf ../../FontMenuNameDB.HW -r -nS -cs 3 -ch ../../UniSourceHanSansHWKR-UTF32-H -ci ../../SourceHanSans_KR_sequences.txt +### Command lines for building alternate style-linked language-specific half-width (HW) OTFs +### Executed in Regular/OTC + +# Simplified Chinese + +makeotf -f cidfont.ps.OTC.HW.SC -ff features.OTC.SC -fi cidfontinfo.OTC.HW.SC -mf ../../FontMenuNameDB.HW.SL -r -nS -cs 25 -ch ../../UniSourceHanSansHWCN-UTF32-H + +# Traditional Chinese (TW) + +makeotf -f cidfont.ps.OTC.HW.TC -ff features.OTC.TC -fi cidfontinfo.OTC.HW.TC -mf ../../FontMenuNameDB.HW.SL -r -nS -cs 2 -ch ../../UniSourceHanSansHWTW-UTF32-H -ci ../../SourceHanSans_TWHK_sequences.txt + +# Japanese + +makeotf -f cidfont.ps.OTC.HW.J -ff features.OTC.J -fi cidfontinfo.OTC.HW.J -mf ../../FontMenuNameDB.HW.SL -r -nS -cs 1 -ch ../../UniSourceHanSansHWJP-UTF32-H -ci ../../SourceHanSans_JP_sequences.txt + +# Korean + +makeotf -f cidfont.ps.OTC.HW.K -ff features.OTC.K -fi cidfontinfo.OTC.HW.K -mf ../../FontMenuNameDB.HW.SL -r -nS -cs 3 -ch ../../UniSourceHanSansHWKR-UTF32-H -ci ../../SourceHanSans_KR_sequences.txt + +### Executed in Bold/OTC + +# Simplified Chinese + +makeotf -f cidfont.ps.OTC.HW.SC -ff features.OTC.SC -fi cidfontinfo.OTC.HW.SC.SL -mf ../../FontMenuNameDB.HW.SL -r -nS -cs 25 -ch ../../UniSourceHanSansHWCN-UTF32-H + +# Traditional Chinese (TW) + +makeotf -f cidfont.ps.OTC.HW.TC -ff features.OTC.TC -fi cidfontinfo.OTC.HW.TC.SL -mf ../../FontMenuNameDB.HW.SL -r -nS -cs 2 -ch ../../UniSourceHanSansHWTW-UTF32-H -ci ../../SourceHanSans_TWHK_sequences.txt + +# Japanese + +makeotf -f cidfont.ps.OTC.HW.J -ff features.OTC.J -fi cidfontinfo.OTC.HW.J.SL -mf ../../FontMenuNameDB.HW.SL -r -nS -cs 1 -ch ../../UniSourceHanSansHWJP-UTF32-H -ci ../../SourceHanSans_JP_sequences.txt + +# Korean + +makeotf -f cidfont.ps.OTC.HW.K -ff features.OTC.K -fi cidfontinfo.OTC.HW.K.SL -mf ../../FontMenuNameDB.HW.SL -r -nS -cs 3 -ch ../../UniSourceHanSansHWKR-UTF32-H -ci ../../SourceHanSans_KR_sequences.txt + ### Command line for building the OTCs (replace $dir with the face name) ### Executed in {ExtraLight,Light,Normal,Medium,Heavy}/OTC diff --git a/FontMenuNameDB.HW.SL b/FontMenuNameDB.HW.SL new file mode 100644 index 0000000..83c0a10 --- /dev/null +++ b/FontMenuNameDB.HW.SL @@ -0,0 +1,47 @@ +[SourceHanSansHW-Regular] + f=3,1,0x411,\6E90\30CE\89D2\30B4\30B7\30C3\30AF HW + s=3,1,0x411,Regular + f=Source Han Sans HW + s=Regular + +[SourceHanSansHW-Bold] + f=3,1,0x411,\6E90\30CE\89D2\30B4\30B7\30C3\30AF HW + s=3,1,0x411,Bold + f=Source Han Sans HW + s=Bold + +[SourceHanSansHWK-Regular] + f=3,1,0x412,\BCF8\ACE0\B515 HW + s=3,1,0x412,Regular + f=Source Han Sans HW K + s=Regular + +[SourceHanSansHWK-Bold] + f=3,1,0x412,\BCF8\ACE0\B515 HW + s=3,1,0x412,Bold + f=Source Han Sans HW K + s=Bold + +[SourceHanSansHWSC-Regular] + f=3,1,0x804,\601D\6E90\9ED1\4F53 HW + s=3,1,0x804,Regular + f=Source Han Sans HW SC + s=Regular + +[SourceHanSansHWSC-Bold] + f=3,1,0x804,\601D\6E90\9ED1\4F53 HW + s=3,1,0x804,Bold + f=Source Han Sans HW SC + s=Bold + +[SourceHanSansHWTC-Regular] + f=3,1,0x404,\601D\6E90\9ED1\9AD4 HW + s=3,1,0x404,Regular + f=Source Han Sans HW TC + s=Regular + +[SourceHanSansHWTC-Bold] + f=3,1,0x404,\601D\6E90\9ED1\9AD4 HW + s=3,1,0x404,Bold + f=Source Han Sans HW TC + s=Bold diff --git a/FontMenuNameDB.SL b/FontMenuNameDB.SL new file mode 100644 index 0000000..00bf6d4 --- /dev/null +++ b/FontMenuNameDB.SL @@ -0,0 +1,47 @@ +[SourceHanSans-Regular] + f=3,1,0x411,\6E90\30CE\89D2\30B4\30B7\30C3\30AF + s=3,1,0x411,Regular + f=Source Han Sans + s=Regular + +[SourceHanSans-Bold] + f=3,1,0x411,\6E90\30CE\89D2\30B4\30B7\30C3\30AF + s=3,1,0x411,Bold + f=Source Han Sans + s=Bold + +[SourceHanSansK-Regular] + f=3,1,0x412,\BCF8\ACE0\B515 + s=3,1,0x412,Regular + f=Source Han Sans K + s=Regular + +[SourceHanSansK-Bold] + f=3,1,0x412,\BCF8\ACE0\B515 + s=3,1,0x412,Bold + f=Source Han Sans K + s=Bold + +[SourceHanSansSC-Regular] + f=3,1,0x804,\601D\6E90\9ED1\4F53 + s=3,1,0x804,Regular + f=Source Han Sans SC + s=Regular + +[SourceHanSansSC-Bold] + f=3,1,0x804,\601D\6E90\9ED1\4F53 + s=3,1,0x804,Bold + f=Source Han Sans SC + s=Bold + +[SourceHanSansTC-Regular] + f=3,1,0x404,\601D\6E90\9ED1\9AD4 + s=3,1,0x404,Regular + f=Source Han Sans TC + s=Regular + +[SourceHanSansTC-Bold] + f=3,1,0x404,\601D\6E90\9ED1\9AD4 + s=3,1,0x404,Bold + f=Source Han Sans TC + s=Bold diff --git a/FontMenuNameDB.SUBSET.SL b/FontMenuNameDB.SUBSET.SL new file mode 100644 index 0000000..9c931be --- /dev/null +++ b/FontMenuNameDB.SUBSET.SL @@ -0,0 +1,47 @@ +[SourceHanSansJP-Regular] + f=3,1,0x411,\6E90\30CE\89D2\30B4\30B7\30C3\30AF JP + s=3,1,0x411,Regular + f=Source Han Sans JP + s=Regular + +[SourceHanSansJP-Bold] + f=3,1,0x411,\6E90\30CE\89D2\30B4\30B7\30C3\30AF JP + s=3,1,0x411,Bold + f=Source Han Sans JP + s=Bold + +[SourceHanSansKR-Regular] + f=3,1,0x412,\BCF8\ACE0\B515 KR + s=3,1,0x412,Regular + f=Source Han Sans KR + s=Regular + +[SourceHanSansKR-Bold] + f=3,1,0x412,\BCF8\ACE0\B515 KR + s=3,1,0x412,Bold + f=Source Han Sans KR + s=Bold + +[SourceHanSansCN-Regular] + f=3,1,0x804,\601D\6E90\9ED1\4F53 CN + s=3,1,0x804,Regular + f=Source Han Sans CN + s=Regular + +[SourceHanSansCN-Bold] + f=3,1,0x804,\601D\6E90\9ED1\4F53 CN + s=3,1,0x804,Bold + f=Source Han Sans CN + s=Bold + +[SourceHanSansTW-Regular] + f=3,1,0x404,\601D\6E90\9ED1\9AD4 TW + s=3,1,0x404,Regular + f=Source Han Sans TW + s=Regular + +[SourceHanSansTW-Bold] + f=3,1,0x404,\601D\6E90\9ED1\9AD4 TW + s=3,1,0x404,Bold + f=Source Han Sans TW + s=Bold