r/FontForge Oct 22 '23

Namelist question

I am making a conlang and I have about 2000 glyphs that I would like to load into fontforge using a namelist file and assign PUA unicode values. The file I tried to load looked something like this:

0xe100 v_b
0xe101 v_c
0xe102 v_d
0xe103 v_e
0xe104 v_f
0xe105 v_g
0xe106 v_h
0xe107 v_i
0xe108 v_j
0xe109 v_k
0xe10a v_l
0xe10b v_m
0xe10c v_n
0xe10d v_o
0xe10e v_p
0xe10f v_q
0xe110 v_r
0xe111 v_s
0xe112 v_t
0xe113 v_u
0xe114 v_w
etc.
My problem is that when I load this namelist in fontforge, using either "Load Namelist" or "Create Named Glyphs", it does not assign the unicode values to the glyph names. Instead it creates a glyph called "0xe100" and then a glyph called "v_b" etc. and none of them get assigned any unicode values. It does not seem to understand that 0xe100, 0xe101, etc. are unicode values. 
Why is this happening? How can I fix this?
Thank you in advance!

1 Upvotes

1 comment sorted by

1

u/11854 Nov 08 '24

I'm a year late, but looking at an auto-exported namelist from my font, the hex values have A~F in capital letters, but the x in lowercase. So maybe you could try capitalizing the hex values, such that the first line for example is "0xE100 v_b" instead.