China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-01 03:33
中国DOS联盟论坛 » DOS开发编程 & 发展交流 (开发室) » [Help] Does anyone know the structure of vector fonts? View 840 Replies 4
Original Poster Posted 2003-10-10 00:00 ·  中国 湖北 武汉 联通
高级用户
★★
Credits 677
Posts 194
Joined 2003-09-13 00:00
22-year member
UID 9778
Gender Male
Status Offline
Please, anyone who knows, help me out! Give me some source code.
If you don't have source code, then please explain in detail the structure, algorithms, and principles of vector fonts.
Floor 2 Posted 2003-10-10 00:00 ·  中国 湖北 武汉 联通
银牌会员
★★★
Credits 1,681
Posts 512
Joined 2003-08-02 00:00
22-year member
UID 7953
Gender Male
Status Offline
For example, one horizontal stroke can be 16 points, 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1, or it can be a LINE: LINE 1,16
That is the most basic form of a straight-line vector font.

In a 16x16 font, each Chinese character takes 32 bytes. You just need to make each character smaller than 32 bytes. I suggest grouping 4 bits together, that would be most appropriate, and then define a format yourself...
Somehow somewhere I've got to choose.
No matter if it is win or lose.
Floor 3 Posted 2003-10-10 00:00 ·  中国 湖北 武汉 联通
高级用户
★★
Credits 677
Posts 194
Joined 2003-09-13 00:00
22-year member
UID 9778
Gender Male
Status Offline
Can you give me an example using an existing vector font?
For example, a vector font under UCDOS, how can it be read out, and what is the structure of its character index table like... ...?
I don't want to make a vector font myself!
Floor 4 Posted 2003-10-11 00:00 ·  中国 湖北 武汉 联通
银牌会员
★★★
Credits 1,681
Posts 512
Joined 2003-08-02 00:00
22-year member
UID 7953
Gender Male
Status Offline
Don't know, go search online

It's in a 1996 issue of Computer Programming Application Digest, but I don't have that book...
Somehow somewhere I've got to choose.
No matter if it is win or lose.
Floor 5 Posted 2003-10-16 00:00 ·  中国 陕西 西安 长安区 电信
初级用户
★★
忍者
Credits 376
Posts 86
Joined 2003-10-16 00:00
22-year member
UID 11361
Gender Male
Status Offline
Thank you, I'm also looking for materials on this!
以C语言软件开发为主:http://sunny1979.icpcn.com
Forum Jump: