adobe-fonts / source-han-code-jp

Source Han Code JP | 源ノ角ゴシック Code
https://ccjktype.fonts.adobe.com/2015/06/source-han-code-jp.html
SIL Open Font License 1.1
1.66k stars 55 forks source link

Support Source Code Pro ITALICS? #5

Closed zchee closed 9 years ago

zchee commented 9 years ago

Hi, Thanks great Japanese program font.

Source Code Pro font has released compatible Italic type font. But, Source Han Code is not supported.

Is it possible to extend the support to Source Code Pro ITALICS? Or, Please tell me how to make (cidfont.ps, ciddnfo, feature, table.BASE and table.vmtx](https://github.com/adobe-fonts/source-han-code-jp/tree/master/Bold).

Thanks.

Source Code Proはベータとしてイタリック体をサポートしています。 しかし、Source Han Code はサポートしていないように思います。

Source Code Pro ITALICSをサポートする予定はありますか? または、ベースとなっているSource Code ProSource Han Sansからcidfont.ps, ciddnfo, feature, table.BASE,table.vmtxの生成方法を教えて頂きたいです。

kenlunde commented 9 years ago

Due to the way in which Source Han Code JP is derived from Source Han Sans, in that it retains the CIDs from the original 65,535-glyph glyph set, building an italic version is not as easy as one would think.

Of course, it would be possible to build Source Han Code JP Italic as separate font resources, but all of the non-Latin glyphs would be the same as the non-italic version, which represents a lot of wasted space.

It is also possible to include the italic glyphs using different CIDs and using the 'ital' GSUB feature, but that would require forking the glyph set, which would make it difficult to extend Source Han Code to support other languages, and the 'ital' GSUB feature is not broadly supported.

kenlunde commented 9 years ago

If you want to do this on your own, it would be useful for @hatchzo to include in the README.md file the steps for converting the Source Code Pro glyphs into a form that was used in Source Han Code JP, to include a list of what CIDs were replaced, and a mapping table from Source Code Pro glyph names to Source Han Code JP CIDs (so that the AFDKO mergeFonts can be used to easily insert the italic glyphs).

zchee commented 9 years ago

Thanks reply. I understand. It is quite difficult :(

@hatchzo to include in the README.md file the steps for converting the Source Code Pro glyphs into a form that was used in Source Han Code JP, to include a list of what CIDs were replaced, and a mapping table from Source Code Pro glyph names to Source Han Code JP CIDs (so that the AFDKO mergeFonts can be used to easily insert the italic glyphs).

Yes, Please tell me how to make. I'm waiting for @hatchzo 's reply.

BTW, I have another question so I will post the issue.

hatchzo commented 9 years ago

I am just curious to make Source Han Code JP Italic, because I don't know Japanese mono-space font which supports italic latin glyphs. But I can't guarantee anything about making the font.

ShikiSuen commented 9 years ago

You could use FontForge to make it by yourself. They are all CID fonts. You simply open a font and replace its Latin part with all glyphs come from Source Code Pro Italic.

hatchzo commented 9 years ago

Now, Roman Italic is available in Source Han Code JP v2.000.