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-06-20 13:06
中国DOS联盟论坛 » DOS汉化世界 & 中文系统 (中文化室) » Let non-Chinese character systems display Chinese characters! Version 5.20 New Edition DigestI View 81,474 Replies 373
Floor 226 Posted 2007-03-16 04:24 ·  中国 海南 儋州 电信
初级用户
★★
Credits 199
Posts 101
Joined 2007-03-13 01:44
19-year member
UID 81536
Status Offline
It is to take points from the screen, similar to directly taking the screen in DOS, hehe

GetPixel
The GetPixel function retrieves the red, green, blue (RGB) color value of the pixel at the specified coordinates.

COLORREF GetPixel(
HDC hdc, // handle to DC
int nXPos, // x-coordinate of pixel
int nYPos // y-coordinate of pixel
);
Parameters
hdc
Handle to the device context.
nXPos
Specifies the x-coordinate, in logical units, of the pixel to be examined.
nYPos
Specifies the y-coordinate, in logical units, of the pixel to be examined.
Return Values
The return value is the RGB value of the pixel. If the pixel is outside of the current clipping region, the return value is CLR_INVALID.

Remarks
The pixel must be within the boundaries of the current clipping region.

Not all devices support GetPixel. An application should call GetDeviceCaps to determine whether a specified device supports this function.

Requirements
Windows NT/2000/XP/Vista: Included in Windows NT 3.1 and later.
Windows 95/98/Me: Included in Windows 95 and later.
Header: Declared in Wingdi.h; include Windows.h.
Library: Use Gdi32.lib.
Floor 227 Posted 2007-03-16 04:36 ·  中国 江苏 苏州 电信
银牌会员
★★★
Credits 2,227
Posts 790
Joined 2005-01-27 00:00
21-year member
UID 35703
Gender Male
Status Offline
Originally posted by download at 2007-3-16 04:24:
It's just taking points from the screen, similar to directly taking the screen in DOS, hehe
...
Requirements
Windows NT/2000/XP/Vista: Included in Windows NT 3.1 and later.
Windows 95/98/Me: Included in Windows 95 and later.
Header: Declared in Wingdi.h; include Windows.h.
Library: Use Gdi32.lib.


Looking at the above Requirements, it supports all versions of WIN95 and later!
You can completely make a universal version of the WIN character shape dump to a 16x16 dot matrix font file software!!!

Moreover, if you make this dump software, I may make a new font loading core to support double character sets displaying on the same screen. The first character set is displayed like the current version, but the second set can display another 128 Chinese characters (of course, a new ECCO.COM software needs to be made to implement this)!
my major is english----my love is dos----my teacher is the buddha----my friends--how about U
Floor 228 Posted 2007-03-16 04:44 ·  中国 海南 儋州 电信
初级用户
★★
Credits 199
Posts 101
Joined 2007-03-13 01:44
19-year member
UID 81536
Status Offline
Originally posted by Ben Shi at 03:04 PM:
RE download:
  Sorry! It seems a bit too hot-tempered!
  I'm starting to understand your program! Truly a case of meeting by fighting!!!

The text file that failed to generate .SYS is in the attachment.

  To you directly ...


I took a look, it's because there are too many Chinese characters, and I don't know whether to delete the extra ones or keep them (they will display as garbled code! So I directly exited), and won't generate SYS.

You need to use the "View" -> "Preview" function to see which ones are extra (there will be a black box marking them), and then delete them. But I seem to have miscalculated one, so maybe I need to delete one more, around 63 ones.
Floor 229 Posted 2007-03-16 04:49 ·  中国 海南 儋州 电信
初级用户
★★
Credits 199
Posts 101
Joined 2007-03-13 01:44
19-year member
UID 81536
Status Offline
Originally posted by 本是 at 03:36 PM:


It says in the above Requirements that it supports all versions of WIN95 and above!
You can completely make a universal version of the WIN font dump to a 16x16 dot matrix font file software!!!

Moreover, moreover, if you make this dump software, I may make a new font loading core to support dual character sets displayed on the same screen. The first character set is displayed like the current version, but the second set can additionally display 128 Chinese characters


Then it means a total of 64 + 128 Chinese characters can be displayed?
Floor 230 Posted 2007-03-16 04:51 ·  中国 江苏 苏州 电信
银牌会员
★★★
Credits 2,227
Posts 790
Joined 2005-01-27 00:00
21-year member
UID 35703
Gender Male
Status Offline
Originally posted by Benshi at 2007-3-16 04:36:
You can completely make a general-purpose software that converts WIN characters to 16x16 dot matrix font files!!!

Moreover, if you make this conversion software, I may make a new font loading core to support simultaneous display of two character sets. The first character set is displayed as in the current version, but the second set can additionally display 128 Chinese characters (of course, a new ECCO.COM software will be needed to implement it)!


You convert, I'll make a new loading core! ——And it will support GBK!!!

Either encouragement or challenge, so that I have the fighting spirit!
my major is english----my love is dos----my teacher is the buddha----my friends--how about U
Floor 231 Posted 2007-03-16 05:09 ·  中国 海南 儋州 电信
初级用户
★★
Credits 199
Posts 101
Joined 2007-03-13 01:44
19-year member
UID 81536
Status Offline
Originally posted by 本是 at 03:51 PM:


You dump, I'll make a new loading core! ——And it supports GBK!!!

Or encourage, or challenge, so that I have the fighting spirit!


I don't understand what you mean by the new loading core. Does it mean displaying 128 + 64 Chinese characters on the same screen?
Floor 232 Posted 2007-03-16 05:10 ·  中国 海南 儋州 电信
初级用户
★★
Credits 199
Posts 101
Joined 2007-03-13 01:44
19-year member
UID 81536
Status Offline
I'm going to sleep. I didn't sleep last night...
Floor 233 Posted 2007-03-16 05:26 ·  中国 江苏 苏州 电信
银牌会员
★★★
Credits 2,227
Posts 790
Joined 2005-01-27 00:00
21-year member
UID 35703
Gender Male
Status Offline
Originally posted by download at 2007-3-16 05:09:
I don't understand what you mean by the new loading core. Does it mean displaying 128+64 Chinese characters on the same screen?


Exactly!
my major is english----my love is dos----my teacher is the buddha----my friends--how about U
Floor 234 Posted 2007-03-16 05:52 ·  中国 广东 东莞 电信
中级用户
★★
Credits 294
Posts 135
Joined 2007-03-09 14:47
19-year member
UID 81212
Gender Male
Status Offline
Just left for a while, didn't expect the two heroes to be discussing so fiercely, ~~

I believe with the efforts of the two, a better Chinese character processing program will be made, and I'm looking forward to it…………
Floor 235 Posted 2007-03-16 12:16 ·  中国 河南 洛阳 联通
高级用户
★★
Credits 544
Posts 164
Joined 2004-10-17 12:00
21-year member
UID 32648
Gender Male
Status Offline
This could originally be discussed here!

http://bbs.wuyou.com/viewthread.php?tid=100870&extra=page%3D1

We can get some useful information in more detail and in a timely manner
我的留言簿

http://hnlyzhd.ys168.com 我的网络盘
Floor 236 Posted 2007-03-17 05:48 ·  中国 湖北 武汉 汉阳区 电信
初级用户
Credits 22
Posts 11
Joined 2007-03-14 02:56
19-year member
UID 81651
Gender Male
Status Offline
Not bad
Good stuff
Floor 237 Posted 2007-03-18 20:51 ·  中国 海南 儋州 电信
初级用户
★★
Credits 199
Posts 101
Joined 2007-03-13 01:44
19-year member
UID 81536
Status Offline
Originally posted by Ben Shi at 04:26 PM:


Exactly!


How long will it take to get it done? I'm very quick... :P
Then you hurry up and do it. In a few days, I'll add this GBK 16X16 output to the "Tool Menu" of "New Code Editor"
Floor 238 Posted 2007-03-18 23:17 ·  中国 山东 泰安 电信
初级用户
Credits 26
Posts 9
Joined 2006-03-22 20:43
20-year member
UID 52611
Status Offline
Thanks to the LZ master for providing such a good tool, I'll study it.
Floor 239 Posted 2007-03-23 10:36 ·  中国 江苏 苏州 电信
银牌会员
★★★
Credits 2,227
Posts 790
Joined 2005-01-27 00:00
21-year member
UID 35703
Gender Male
Status Offline
Announcement:
I plan to expand the functions of VTmagic.com -
1. Add the function of saving the entire character set to support BCDW;
2. Add the function of loading the second character set,
that is, in addition to loading 64 Chinese characters of the first character set,
load more than 120 Chinese characters of the second character set (excluding line breaks, returns, spaces, etc.).

What are everyone's opinions and suggestions?
my major is english----my love is dos----my teacher is the buddha----my friends--how about U
Floor 240 Posted 2007-03-23 10:42 ·  中国 山东 菏泽 联通
银牌会员
★★★
Credits 1,246
Posts 488
Joined 2003-11-11 00:00
22-year member
UID 12699
Gender Male
Status Offline
Originally posted by Benshi at 2007-3-23 10:36 AM:
Announcement:
I plan to expand the functions of VTmagic.com -
1. Add the function to save the entire character set to support BCDW;
2. Add the function to support loading the second character set,
that is, in addition to loading 64 of the first character set...


Looking forward to success as soon as possible.
‹ Prev 1 14 15 16 17 18 25 Next ›
Forum Jump: