Open MikhailPodkur opened 8 years ago
Hi Can you help me out with this vector font concept. I am interested in it. I would like to know how to generate vector font array. If you have or know any wiki page where I can learn things please do share. Thanks for your effort.
Good day, ganeshkumarsw As you see, char array, used to represent vector font consists of 256 strings. Each string represents one font character. I.e. string on place 0x21 eqals "24202636342430343020" represents character '!'. Each four digits of the string means X,Y coordinates of begin and end of the line. I mean that that string which represents char '!' is the set of lines: from (2,4) to (2,0); from (2,6) to (3,6); (3,4) to (2,4) and so on. Now you could draw symbol line by line. And when you have X,Y coordinates you can scale it as you wish. I see that each symbol represented by string. I think that it's easy to organize array of 256 subarrays with different length. But "by default"(using 0..9) you can draw base vector symbol in 10x10 matrix. If you want you can use other symbols with codes more than 0x39 to increase symbol base matrix.
Hi Mikhail, Thanks for sharing the information.
Hi Mikhail,
Thanks for sharing your work. I'm curious as to how you generated (or where you found) the vector information for the Cyrillic font? I would love to use your vector font support with an English font, but I'm having trouble finding the vector information (or a tool to generate it) for such a font.
Cyrillic vector font added Example added