中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-09-20 19:37
47,812 topics / 349,917 posts / today 0 new / 48,270 members
DOS汉化世界 & 中文系统 (中文化室) » Let non-Chinese character systems display Chinese characters! Version 5.20 New Edition
Printable Version  90,736 / 373
Floor226 download Posted 2007-03-16 04:24
初级用户 Posts 101 Credits 199
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.
Floor227 本是 Posted 2007-03-16 04:36
银牌会员 Posts 790 Credits 2,227
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)!
Floor228 download Posted 2007-03-16 04:44
初级用户 Posts 101 Credits 199
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.
Floor229 download Posted 2007-03-16 04:49
初级用户 Posts 101 Credits 199
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?
Floor230 本是 Posted 2007-03-16 04:51
银牌会员 Posts 790 Credits 2,227
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!
Floor231 download Posted 2007-03-16 05:09
初级用户 Posts 101 Credits 199
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?
Floor232 download Posted 2007-03-16 05:10
初级用户 Posts 101 Credits 199
I'm going to sleep. I didn't sleep last night...
Floor233 本是 Posted 2007-03-16 05:26
银牌会员 Posts 790 Credits 2,227
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!
Floor234 hulongzhuo Posted 2007-03-16 05:52
中级用户 Posts 135 Credits 294
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…………
Floor235 hnlyzhd Posted 2007-03-16 12:16
高级用户 Posts 164 Credits 544
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
Floor236 nicmonicmo Posted 2007-03-17 05:48
初级用户 Posts 11 Credits 22
Not bad
Good stuff
Floor237 download Posted 2007-03-18 20:51
初级用户 Posts 101 Credits 199
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"
Floor238 o4hyj Posted 2007-03-18 23:17
初级用户 Posts 9 Credits 26
Thanks to the LZ master for providing such a good tool, I'll study it.
Floor239 本是 Posted 2007-03-23 10:36
银牌会员 Posts 790 Credits 2,227
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?
Floor240 wang6610 Posted 2007-03-23 10:42
银牌会员 Posts 488 Credits 1,246
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  113 14 15 16 17 18 1925  Next
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023