Is there any way to put Unicodes in encoding files?

ferfolio_2's picture

Hi!

I'm trying to create a standard encoding for my fonts, but there are some glyphs that FontLab doesn't recognice, or even defines with incorrect unicode. Theese are the ones i've been having problems:

Germandbls (should be U+1E9E)
Tcedilla (should be U+0162)
Tcommaaccent (should be U+021A)
tcedilla (should be U+0163)
tcommaaccent (should be U+021B)

Is there any way to creating a encoding (.enc) that gives name+unicode to each glyph?

George Thomas's picture

You don't say what app or platform you are using, but if you are using FL Studio you can define your own .enc file and FLS can use it. Check the manual (page 154) or the FontLab Forum for more information about your particular platform.

ferfolio_2's picture

I'm using FontLab on PC. And I already have my .enc file ready to use.
The thing is that when I use my encoding in FontLab those glyphs have the wrong Unicode.

George Thomas's picture

Someone here may chime in with an answer, but I don't have it. If I encountered that problem I would ask about it in the FontLab Forums.

John Hudson's picture

Name-to-Unicode mappings are stored in .nam files in the \FontLab\Shared\Mapping folder, independent of the .enc files in the \Encoding folder. So you set up the name-to-Unicode mappings in a .nam file, and then use those names in a .enc file. In FontLab, you then need to use the 'Generate Unicode' dialogue in the Glyph/Glyph Names menu to select a default .nam to use. [Note that every once in a while, FontLab will revert to its Standard .nam and you will need to reset the default.]

PS. I recommend creating your own .nam files, even if based on those provided by FontLab, rather than editing the Standard .nam.

Bob H's picture

I can't seem to find standard.nam anywhere, though I do have a folder \Fontlab\Shared\Mapping that contains readme_nam.txt.

Where should I look for it -- or is my [Windows] FL Studio 5.0.4 installation deficient?

John Hudson's picture

Somewhat confusingly, FontLab can store .enc, .nam, etc. and also macros in more than one location. The default location on Windows is not the folders in FontLab's app folder, but the ones at [User]\My Documents\FontLab. Check there.

Bob H's picture

Sorry my earlier post didn't come through as I intended, but I was looking in [Users]\My Documents\Fontlab. :-(

John Hudson's picture

Oh, try the FontLab folders in Application Files.

ferfolio_2's picture

Thanks everyone this has been very helpful!

Syndicate content Syndicate content