• Stars
    star
    1,643
  • Rank 28,446 (Top 0.6 %)
  • Language PostScript
  • License
    SIL Open Font Lic...
  • Created over 9 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Source Han Code JP | 源ノ角ゴシック Code

English / 日本語

2020-11-25 Release Notes

Removed SVG table to avoid problems with syntax highlighting as reported in Issue #17.

2018-04-17 Release Notes

Source Han Code JP Version 2.010 is released. This version supports style-linking in apps that include 'B' (Bold) and 'I' (Italic) buttons in their font menu. The sorting of the font names in some apps is also improved.

Changes:

  • U+2423 '␣' OPEN BOX now has a monospaced horizontal advance of 667 units (the previous version used 1000 units). See Issue #12.

  • Style-linking is now supported correctly, meaning that you can access 'Bold' and 'Italic' styles by pressing the 'B' or 'I' buttons in apps that support style linking.

  • Fixed the issue that the Source Han Code JP family was not grouped in the 'Fonts' folder of Windows 10.

  • Fixed the issue that the Source Han Code JP family was not grouped in the font menu of MS Office apps.

  • Improved the syntax of the SVG glyph data.

  • Added the 'ss01' and 'ss02' GSUB features for color to Black&White and Black&White to color glyph substitution, respectively.

  • Removed 'addSVGtable.py' from the repository as you can now get this Python script from the opentype-svg project.

Source Han Code JP

Source Han Code JP is a derivative of Source Han Sans that replaces its proportional Latin glyphs with fixed-width 667-unit glyphs from Source Code Pro. The Latin glyphs are scaled to match the glyphs for Japanese kana and kanji, and their widths are adjusted to be exactly 667 units (two-thirds of an EM). Source Han Code JP is intended to be used as a UI font for mixed Latin and Japanese text on displays, for programming, editing HTML/CSS, viewing text or inputing to the command line in a terminal app, and so on.

Source Han Code JP is based on the Japanese subset of Source Han Sans, Source Han Sans JP, whose glyph set supports only Japanese.

  • Screenshots for Source Han Code JP

alt text

alt text

  • Version 2.0 supports Greek, Cyrillic, Roman Italic and a few emoji glyphs. Now Source Han Code JP is Non-Iatlic and Italic 14 fonts family. These emojis have been given color versions that will appear in apps or browsers that support OpenType SVG table.

alt text

alt text

Download the fonts

Changes from the original Source Han Sans JP

Proportional Latin glyphs that were replaced with fixed-width 667-unit versions:

Italic glyphs that were added to version 2.0 :

Full-width emoji glyphs that were added to version 2.0 :

Proportional glyphs that are removed from the original Source Han Sans JP :

Source Han Code JP does not support any GPOS features.

Building the fonts

Requirements

To build the binary font files from source, you need to have installed the Adobe Font Development Kit for OpenType (AFDKO). The AFDKO tools are widely used for font development today, and are part of most font editor applications.

Building all fonts

For convenience, a shell script named commands.sh is provided in the root directory. To run addSVGtable.py which allows to add SVG files into a font will require fonttools version 2.5 and later :

$ ./commands.sh

You can use commands_superotc.sh to make a super otc that will be bound all of fonts in one single file :

$ ./commands_subroutinize_otc.sh

Installation notes

After installing in OS X, if you cannot find the fonts in the font menu of an app, or if the fonts cannot be selected in an app, please try the following steps to reset the font cache:

  1. Copy fonts (OTFs or OTC) to the /Library/Fonts/ or ~/Library/Fonts/ directory.
  2. Run the following command line in the Terminal app:
    $ sudo atsutil databases -remove
  3. Logout from or restart OS X.

The original open source fonts from which Source Han Code JP was derived

2018-04-02 Note

*SVG font causes an error when saving an Adobe Illustrator file was fixed in version 22.1.

2017-11-22 Note

  • The CID-keyed OpenType SVG issue was fixed in InDesign CC Version 13.0.1.

2017-11-4 Note

  • Can't save Source Han Code JP in Adobe Illustrator CC

We are aware that Adobe Illustrator CC fails to save a document that uses Source Han Code JP that results in an "An unknown error has occurred." dialog appearing. This issue has been reported to the Illustrator team. This issue seems to affect CID-keyed OpenType/CFF fonts that include an 'SVG ' table, such as Source Han Code JP. An interim solution is to simply uncheck the "Create PDF Compatible File" option in the Save dialog's options. InDesign CC has a similar issue in its PDF export option, and unfortunately, we are not aware of a similar work-around.

Please visit OpenType SVG Fonts in Creative Cloud Apps more details.

Getting Involved

Send suggestions for changes to the Source Han Code project maintainer, Masataka Hattori, for consideration.

More Repositories

1

source-code-pro

Monospaced font family for user interface and coding environments
CSS
19,885
star
2

source-han-sans

Source Han Sans | 思源黑体 | 思源黑體 | 思源黑體 香港 | 源ノ角ゴシック | 본고딕
14,420
star
3

source-han-serif

Source Han Serif | 思源宋体 | 思源宋體 | 思源宋體 香港 | 源ノ明朝 | 본명조
Shell
8,207
star
4

source-sans

Sans serif font family for user interface environments
CSS
3,472
star
5

source-serif

Typeface for setting text in many sizes, weights, and languages. Designed to complement Source Sans.
CSS
2,169
star
6

source-han-mono

Source Han Mono | 思源等宽 | 思源等寬 | 思源等寬 香港 | 源ノ等幅 | 본모노
1,145
star
7

source-han-super-otc

Source Han & Noto CJK Mega/Ultra OTCs
205
star
8

adobe-blank

Adobe Blank
PostScript
200
star
9

emojione-color

OpenType-SVG font of EmojiOne 2.3
150
star
10

adobe-variable-font-prototype

Variable font example in OpenType-CFF2 & TrueType formats
Python
143
star
11

noto-emoji-svg

OpenType-SVG version of Noto Color Emoji
HTML
106
star
12

source-emoji

HTML
72
star
13

adobe-notdef

Adobe NotDef
PostScript
65
star
14

adobe-blank-2

Adobe Blank 2
PostScript
34
star
15

variable-font-collection-test

Variable Font Collection Test
Shell
33
star
16

adobe-blank-vf

Adobe Blank VF & Friends
Shell
30
star
17

white-on-black-vf

White On Black VF versus Black On White VF
Shell
22
star
18

kenten-generic

Kenten Generic
PostScript
21
star
19

source-devanagari-sans

Source Devanagari Sans
20
star
20

source-tamil-sans

Source Tamil Sans
17
star
21

source-hebrew-sans

Source Hebrew Sans
16
star
22

tally-marks

Tally Marks OpenType-SVG Font
PostScript
15
star
23

locl-test

LOCL Test
PostScript
13
star
24

source-bengali-sans

Source Bengali Sans
12
star
25

tombo-sp

Tombo SP
PostScript
12
star
26

source-kannada-sans

Source Kannada Sans
11
star
27

atf-localized-ss-names

Python
10
star
28

source-gujarati-sans

Source Gujarati Sans
10
star
29

ivs-test

IVS Test
PostScript
10
star
30

cjk-radicals

CJK Radicals (CJK Radicals Supplement & Kangxi Radicals)
PostScript
7
star
31

css-orientation-test

CSS Orientation Test
PostScript
7
star
32

source-gurmukhi-sans

Source Gurmukhi Sans
7
star
33

width-and-vertical-width-vf

Width & Vertical Width VF
Shell
6
star
34

fdarray-test

FDArray Test
PostScript
5
star
35

width-test

Width Test
PostScript
5
star
36

source-locl-test

Source LOCL Test
Modelica
5
star
37

surce-sns-missing-types

3
star
38

cff2-hint-ordering-test

1
star