Question about assigning font values in source code
Posted: Mon Oct 17, 2022 6:49 pm
I am an owner of Font Creator Version 14.0.0.2883 (64-bit). I have created .otf font of astrology glyphs.
I write software and I am setting the font value into a string using code. In the code below I assign the number 41 to a sting named NeptuneGlyph. Then I write the string to the screen using the function, Canvas->TextOut.
NeptuneGlyph[0]=41;
Canvas->TextOut(X, Y, NeptuneGlyph );
My question is where does the number 41 come from? I have attached a picture of Font Creator showing the font value when it is selected. I listed values from Font Creator below. I don't see any value 41.
Name = Neptune
Code-points = $29
parenright - Right parenthesis
OT Class = Automatic
LSB = 160
RSB = 269
AW = 1726
Tag = No Tag
I write software and I am setting the font value into a string using code. In the code below I assign the number 41 to a sting named NeptuneGlyph. Then I write the string to the screen using the function, Canvas->TextOut.
NeptuneGlyph[0]=41;
Canvas->TextOut(X, Y, NeptuneGlyph );
My question is where does the number 41 come from? I have attached a picture of Font Creator showing the font value when it is selected. I listed values from Font Creator below. I don't see any value 41.
Name = Neptune
Code-points = $29
parenright - Right parenthesis
OT Class = Automatic
LSB = 160
RSB = 269
AW = 1726
Tag = No Tag