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
Question about assigning font values in source code
Question about assigning font values in source code
- Attachments
-
- font32.png (20.77 KiB) Viewed 6216 times
-
- Moderator
- Posts: 11194
- Joined: Fri Oct 04, 2002 12:41 am
- Location: Bilthoven, The Netherlands
- Contact:
Re: Question about assigning font values in source code
Hexadecimal 29 equals 41 in a decimal notation.
You can choose the way code-points are formatted through this option:
You can choose the way code-points are formatted through this option: