Version of Unicode?

Get help with FontCreator here. Please do not post feature requests or bug reports here.
Post Reply
ClintGoss
Posts: 46
Joined: Mon Nov 06, 2017 2:18 pm

Version of Unicode?

Post by ClintGoss » Wed May 01, 2019 9:45 pm

Is there a straightforward way to figure out which Version of Unicode FC is currently using? I'm thinking specifically about the code point allocations ...

It would be *very* nice to be able to see whether a particular font fills out a block for a given version of Unicode ... i.e. being to switch FC between different versions of Unicode ... but that would be a substantial addition, I guess.

It would also be helpful to be able to view the code point space organized/grouped by script rather than by code blocks, but that's also a significant change to the GUI ...

-Clint

Bhikkhu Pesala
Top Typographer
Top Typographer
Posts: 8250
Joined: Tue Oct 29, 2002 5:28 am
Location: Seven Kings, London UK
Contact:

Re: Version of Unicode?

Post by Bhikkhu Pesala » Wed May 01, 2019 9:54 pm

ClintGoss wrote:
Wed May 01, 2019 9:45 pm
Is there a straightforward way to figure out which Version of Unicode FC is currently using?
Open Blocks.txt in the Unicode folder.

# Blocks-10.0.0.txt
# Date: 2017-04-12, 17:30:00 GMT [KW]
# © 2017 Unicode®, Inc.

You could copy different versions of Blocks.txt and UnicodeData.txt to your User Data Folder for earlier Unicode versions.

Right-click on a character set in the Glyph Overview panel to complete a character set.
Complete Category.png
Complete Category.png (7.44 KiB) Viewed 470 times
My FontsReviews: MainTypeFont CreatorHelpFC12 Pro + MT8.0 @ Win10 1809 build 17763.557

ClintGoss
Posts: 46
Joined: Mon Nov 06, 2017 2:18 pm

Re: Version of Unicode?

Post by ClintGoss » Wed May 01, 2019 10:15 pm

Excellent! I'm sure I'd need to restart FC on such as config-file swap ...

Wondering if that's all it would take to get FC working on Unicode 12.0 ... is there really nothing else that is needed? Well, I can just try it and see ...

Erwin Denissen
Moderator
Moderator
Posts: 8190
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: Version of Unicode?

Post by Erwin Denissen » Wed May 01, 2019 10:30 pm

Or use Unicode 12.1.0 if you are in need of Reiwa ($32FF).
Erwin Denissen
High-Logic
Proven Font Technology

Bhikkhu Pesala
Top Typographer
Top Typographer
Posts: 8250
Joined: Tue Oct 29, 2002 5:28 am
Location: Seven Kings, London UK
Contact:

Re: Version of Unicode?

Post by Bhikkhu Pesala » Thu May 02, 2019 5:01 am

The problem seems to be solved, so I moved the thread to the Support forum.
My FontsReviews: MainTypeFont CreatorHelpFC12 Pro + MT8.0 @ Win10 1809 build 17763.557

ClintGoss
Posts: 46
Joined: Mon Nov 06, 2017 2:18 pm

Re: Version of Unicode?

Post by ClintGoss » Fri May 03, 2019 5:16 pm

Could you please confirm that it is only UnicodeData.txt and Blocks.txt that I need to substitute to change the Unicode version number?

... or do ArabicShaping.txt and Scripts.txt also need to be swapped??

I've run initial tests with great success ... but need to know if these file are read by FC. I can't tell, since FC plows ahead even if UnicodeData.txt and Blocks.txt are missing, so I have no idea if ArabicShaping.txt and Scripts.txt are being read.

Bhikkhu Pesala
Top Typographer
Top Typographer
Posts: 8250
Joined: Tue Oct 29, 2002 5:28 am
Location: Seven Kings, London UK
Contact:

Re: Version of Unicode?

Post by Bhikkhu Pesala » Fri May 03, 2019 5:43 pm

The data files are stored in the C:\Program Files\ folders when you install FontCreator.

If you don't copy them to %AppData% these versions will be used. If you copy the newer (or older) versions to %AppData% then those will be used.

The same reasoning will apply to the other text files in the Unicode folder. FontCreator will use what it find in %AppData% and fall back to the installed files in C:\Program Files\ if it does not find them there.
My FontsReviews: MainTypeFont CreatorHelpFC12 Pro + MT8.0 @ Win10 1809 build 17763.557

ClintGoss
Posts: 46
Joined: Mon Nov 06, 2017 2:18 pm

Re: Version of Unicode?

Post by ClintGoss » Fri May 03, 2019 6:47 pm

My main concern is that there are 4 files in FC's /Unicode subdirectory: ArabicShaping.txt, Blocks.txt, Scripts.txt, UnicodeData.txt (there is also ReadMe.txt, but let's leave that aside).

You mentioned replacing Blocks.txt and UnicodeData.txt, but not ArabicShaping.txt and Scripts.txt. Should I replace those as well? Are they used by FC? I just can't tell from my testing.

BTW, FC behaves very nicely when I've replaced Blocks.txt and UnicodeData.txt. I can overwrite them at any time, and at the next FC startup, the user interface is correctly modified to show that shape of that version of Unicode. However, there might be some places that I have not seen where ArabicShaping.txt and Scripts.txt affect the user interface.

Bhikkhu Pesala
Top Typographer
Top Typographer
Posts: 8250
Joined: Tue Oct 29, 2002 5:28 am
Location: Seven Kings, London UK
Contact:

Re: Version of Unicode?

Post by Bhikkhu Pesala » Fri May 03, 2019 7:08 pm

There is no harm in copying the files, but unless you work on esoteric scripts it's unlikely to make any difference.

Use a freeware utility like ExamDiff to compare different versions.
My FontsReviews: MainTypeFont CreatorHelpFC12 Pro + MT8.0 @ Win10 1809 build 17763.557

ClintGoss
Posts: 46
Joined: Mon Nov 06, 2017 2:18 pm

Re: Version of Unicode?

Post by ClintGoss » Mon May 06, 2019 1:10 pm

This has worked like a charm!

I now have a handy script that lets me reconfigure FC to any Unicode version from 1.1 through 12.0 (12.1 tomorrow bright and early!) This is very helpful to me, in determining the block coverage of older fonts I sometimes work with, based on the version of Unicode for which that font was designed. BTW, I had to re-create Blocks.txt for some of the earlier versions to fix the format, and there were a few nigglies in those early files such as one or two out-of-sequence ranges.

It occurred to me that I could use this to handle various carvings of the PUA (MUFI vs SMuFL vs SIL etc) ... so ...

Question: Is it OK to hack Blocks.txt to carve up PUA, PUA-A and PUA-B into smaller chunks to suit my needs?

Erwin Denissen
Moderator
Moderator
Posts: 8190
Joined: Fri Oct 04, 2002 12:41 am
Location: Bilthoven, The Netherlands
Contact:

Re: Version of Unicode?

Post by Erwin Denissen » Mon May 06, 2019 1:51 pm

FontCreator doesn't depend on the blocks information, so you can edit it, but some calculations use hard-coded blocks. So no guarantee all works as you expect, but feel free to experiment.
Erwin Denissen
High-Logic
Proven Font Technology

Post Reply