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:31
中国DOS联盟论坛 » DOS开发编程 & 发展交流 (开发室) » [Help] Handling text in TURBO C programming? View 775 Replies 7
Original Poster 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
When I'm making an interface, I want to smoothly enlarge the title text. Could some expert tell me how to do it? Thanks!
以C语言软件开发为主:http://sunny1979.icpcn.com
Floor 2 Posted 2003-10-16 00:00 ·  中国 湖北 宜昌 电信
高级用户
★★
Credits 677
Posts 194
Joined 2003-09-13 00:00
22-year member
UID 9778
Gender Male
Status Offline
Does your program need support from the UCDOS system? Please explain.
If it's simple, that's one thing; if not, it's much more complicated!
Floor 3 Posted 2003-10-16 00:00 ·  中国 陕西 西安 教育网
高级用户
★★
OS/2女孩
Credits 639
Posts 183
Joined 2003-06-14 00:00
23-year member
UID 5148
Gender Female
Status Offline
Smooth enlargement? Is it an animation process? Is it Chinese or English? You'd better make the question a bit clearer!
REM 喜欢DOS,因为它的简单
REM 喜欢OS/2,因为它不再矫饰
REM 喜欢BASIC,因为它并不幼稚
REM 喜欢GNU,因为它杂乱无章
Floor 4 Posted 2003-10-17 00:00 ·  中国 陕西 西安 长安区 电信
初级用户
★★
忍者
Credits 376
Posts 86
Joined 2003-10-16 00:00
22-year member
UID 11361
Gender Male
Status Offline
UCDOS is optional. I want to display Chinese characters in size-3, not animation, just a static title. I only know that dot-matrix or vector enlargement can be used, but I'm not very clear on how exactly to do it! Please give me some advice! Thanks!
以C语言软件开发为主:http://sunny1979.icpcn.com
Floor 5 Posted 2003-10-17 00:00 ·  中国 湖北 武汉 联通
高级用户
★★
Credits 677
Posts 194
Joined 2003-09-13 00:00
22-year member
UID 9778
Gender Male
Status Offline
With UCDOS, load the special display programs RDSL, TX
Call it in the following format: printf("\16"
Here h = the height of the Chinese characters
w = the width of the Chinese characters
n = the font number
n1 = foreground color
n2 = background color
For example: printf("\16"
Since I haven't studied programming languages, please verify this!
Floor 6 Posted 2003-10-17 00:00 ·  中国 陕西 西安 教育网
高级用户
★★
OS/2女孩
Credits 639
Posts 183
Joined 2003-06-14 00:00
23-year member
UID 5148
Gender Female
Status Offline
Why make it so troublesome? Just draw a size-3 font title under WINDOWS first (256 colors or whatever is fine),
then use C language to "draw" that BMP file onto the screen, and that's it. It will definitely look good; even vector fonts can't achieve that
effect.
REM 喜欢DOS,因为它的简单
REM 喜欢OS/2,因为它不再矫饰
REM 喜欢BASIC,因为它并不幼稚
REM 喜欢GNU,因为它杂乱无章
Floor 7 Posted 2003-10-18 00:00 ·  中国 陕西 西安 电信
初级用户
★★
忍者
Credits 376
Posts 86
Joined 2003-10-16 00:00
22-year member
UID 11361
Gender Male
Status Offline
I'll give it a try. Many thanks, everyone!
以C语言软件开发为主:http://sunny1979.icpcn.com
Floor 8 Posted 2003-10-20 00:00 ·  中国 陕西 西安 电信
初级用户
★★
忍者
Credits 376
Posts 86
Joined 2003-10-16 00:00
22-year member
UID 11361
Gender Male
Status Offline
I tried it, but there are a lot of problems. Is there any material on this that I could use for reference? Many thanks!!!
以C语言软件开发为主:http://sunny1979.icpcn.com
Forum Jump: