Page 1 of 1

Delete font data of some ranges

Posted: Tue Dec 20, 2016 1:42 am
by aikon
Hi, though this may be a rudimentary question, I cannot manage the problem by myself.
If already answered or exist a similar question, pls let me know...

I am creating a new font from existing CJK font and Cyrillic font.
but the CJK font I use; Noto Sans CJK jp contains so much of glyphs that I cannot add the Cyrillic font simply.

Then I tried to delete unnecessary data e.g. Hungul Jamo.
Deleted codepoints : the glyphs still exist as "unused" and cannot export font.
Deleted Glyphs : CID or Cmap seems to be confused and corrupted, illegal characters appear in a test excel file.

how can I do?

Re: Delete font data of some ranges

Posted: Tue Dec 20, 2016 8:33 am
by Bhikkhu Pesala
Which version of FontCreator are you using?
  1. I opened NotoSansMonoCJKjp-Regular.ttf
  2. I deleted all of the glyphs in Hangul Jamo, Hangul Jamo Extended-A, Hangul Jamo Extended-B, and Hangul Syllables
  3. The font already contains some Cyrillic, but I added some more, and Cyrillic supplement.
  4. I calculated the Ranges and Code Pages in Font Properties
  5. I exported the font to CFF outlines.
  6. This export process took some time (long enough to write this reply), but seemed to succeed.
  7. I installed the font and tested with a few Cyrillic Supplement glyphs in Libre Office (see screen shot).
Cyrillic Supplement.png
Cyrillic Supplement.png (3.59 KiB) Viewed 4647 times

Re: Delete font data of some ranges

Posted: Wed Dec 21, 2016 4:00 am
by aikon
Hi, Bhikkhu Pesala!

Thank you for your reply!
My FontCreator's version is: 10.1.0 (Build 2257) and I am using Windows 7 SP1.

I have NOT calculated the Ranges and Code Pages and tried, but the CJK glyphs are illegal at a test excel file (Cyrillic glyphs appeared correctly.).
Can you please also test the CJK fonts?

What I did is:
1. Opened the otf file; Noto Sans CJK jp from "File"-"Open..."
2. Deleted with right click on the Hangul Jamo range after selecting all Hangul Jamo.
3. Calculated the Ranges and Code Page with the [Calculate] buttons on "Font"-"Properties"-"Ranges"tab.
4. Export font from "File"-"Export Font As..."-"Export Font as TTF/OTF" which format is "True Type"; because I need TTF format.
5. Yes, waited for a while to complete exporting.
6. Installed the exported font to the C:\Windows\Fonts.

Thank you and Best Regards,
aikon

Re: Delete font data of some ranges

Posted: Thu Jan 05, 2017 6:07 am
by aikon
Hi,

Could you please anyone help me?
Though I tried anything I supposed since last post, I am still not able to get a correct font.
Should I give up to implement both Cyrillic and CJK as one font file?

Best Regards,
aikon

Re: Delete font data of some ranges

Posted: Thu Jan 05, 2017 6:36 am
by Bhikkhu Pesala
If I am not mistaken, the latest publicly available version is build 2272. Try checking for updates, then test your font again.

Re: Delete font data of some ranges

Posted: Fri Jan 06, 2017 7:08 am
by aikon
Hi, Bhikkhu Pesala

Thank you for your reply.
I updated and tried again, but the problem still remains.

does similar problem not occur at your conditions?


Best regards,
aikon

Re: Delete font data of some ranges

Posted: Mon Jan 23, 2017 7:42 am
by aikon
Hi, all,

I could solve this problem!
Though it may be one of the basic tips, I note it down because it may be helpful for someone.
I am glad if useful.

What I wanted to do and failed is to delete data of some ranges
so that put Cyrillic font into Noto Sans CJK series, which contains full number of characters.

Just deleting the font data; selected the glyph(s) on the main window and push [Delete] key
makes CID or Cmap confused and corrupted and illegal characters appear in a test excel file.

So, I tried to culculated the ranges and uncheck
"Automatically update character ranges when exporting font (recommended)"
at the "Font" - "Properties..." - "Ranges".
And then it worked well and I got the result I wanted.

Thank you sooooooooooo much for your kindly help.


Best Regards,
aikon

Re: Delete font data of some ranges

Posted: Mon Jan 23, 2017 8:10 am
by Erwin Denissen
Clicking the Calculate buttons works exactly the same as the "Automatically update" setting, so I think it should have worked anyway.

But I'm glad to know you've managed to get the font you want.

Re: Delete font data of some ranges

Posted: Tue Jan 24, 2017 2:01 am
by aikon
Hi, Erwin Denissen,

Thank you for your comment!

Yes, I've thought that, too.
But, I don't know why, only by clicking the [Calculate] buttons, I could not get the result I want...

Since "(recommended)" is described, I have not uncheck this option.
But when I tried that, I could get them correctly...

Anyway, thank you again.


Best Regards,
aikon