I made Japanese version of ReactOS.
Following is all that I have done. 1) add jpn.nls to \lib\kernel32\nls\ 2) modify \lib\kernel32\locale_rc.rc 3) add Japanese font to \media\fonts\ 4) add next line to \bootdata\hivesft.inf HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\SysFontSubstitutes","MS UI Gothic",0x0000
0000,"FontName" 5) add next line to \bootdata\packages\reactos.dff media\fonts\FontName.ttf 3 6) modify locale settings at \bootdata\hivesft.inf and hivesys.inf HKCU,"Control Panel\International","Locale",0x00000000,"0411" HKLM,"SYSTEM\CurrentControlSet\Control\NLS\Language","Default",0x00000000,"0411" HKLM,"SYSTEM\CurrentControlSet\Control\NLS\Language","InstallLanguage",0x00000000,"0411"
Now please look at these screenshots. http://reactos-j.sourceforge.jp/up/img/081.png http://reactos-j.sourceforge.jp/up/img/082.png
The former uses mona http://monafont.sourceforge.net/index-e.html The latter uses mplus http://www.kaoriya.net/#BDFM+
I'm very sad... Is ReactOS able to handle Japanese font properly?
Actually, that looks very much like the SBIT problem wierd_w has been talking about..
On 12 Oct 2005 14:03:18 +0900, tsk tsk_n@mail.goo.ne.jp wrote:
I made Japanese version of ReactOS.
Following is all that I have done.
- add jpn.nls to \lib\kernel32\nls\
- modify \lib\kernel32\locale_rc.rc
- add Japanese font to \media\fonts\
- add next line to \bootdata\hivesft.inf
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\SysFontSubstitutes","MS UI Gothic",0x0000
0000,"FontName" 5) add next line to \bootdata\packages\reactos.dff media\fonts\FontName.ttf 3 6) modify locale settings at \bootdata\hivesft.inf and hivesys.inf HKCU,"Control Panel\International","Locale",0x00000000,"0411" HKLM,"SYSTEM\CurrentControlSet\Control\NLS\Language","Default",0x00000000,"0411" HKLM,"SYSTEM\CurrentControlSet\Control\NLS\Language","InstallLanguage",0x00000000,"0411"
Now please look at these screenshots. http://reactos-j.sourceforge.jp/up/img/081.png http://reactos-j.sourceforge.jp/up/img/082.png
The former uses mona http://monafont.sourceforge.net/index-e.html The latter uses mplus http://www.kaoriya.net/#BDFM+
I'm very sad... Is ReactOS able to handle Japanese font properly? _______________________________________________ Ros-dev mailing list Ros-dev@reactos.org http://www.reactos.org/mailman/listinfo/ros-dev
-- <arty> don't question it ... it's clearly an optimization
Yes-- this looks EXACTLY like the SBIT problem I have been preaching about. The problem is that Freetype is able to read the 1BPP SBIT data from the font, but that our win32k doesnt know how to handle it.
Two bugs have been filed over this problem that are related, but not exactly the same.
http://www.reactos.org/bugzilla/show_bug.cgi?id=894
and
http://www.reactos.org/bugzilla/show_bug.cgi?id=309
894 describes the problem with SBITs in TTF fonts, while 309 deals with the problem when reading .FON files. Both are related, as they both send the same kind of data back to win32k, but are separate problems.
the TTF fonts DO get enumerated (part of what DOESNT happen with .FONS), but do not display correctly.
I am waiting on this bug to get fixed as well, so that I can finish my Tahoma replacement.
--- WaxDragon waxdragon@gmail.com wrote:
Actually, that looks very much like the SBIT problem wierd_w has been talking about..
On 12 Oct 2005 14:03:18 +0900, tsk tsk_n@mail.goo.ne.jp wrote:
I made Japanese version of ReactOS.
Following is all that I have done.
- add jpn.nls to \lib\kernel32\nls\
- modify \lib\kernel32\locale_rc.rc
- add Japanese font to \media\fonts\
- add next line to \bootdata\hivesft.inf
HKLM,"SOFTWARE\Microsoft\Windows
NT\CurrentVersion\SysFontSubstitutes","MS UI Gothic",0x0000
0000,"FontName" 5) add next line to \bootdata\packages\reactos.dff media\fonts\FontName.ttf 3 6) modify locale settings at \bootdata\hivesft.inf
and hivesys.inf
HKCU,"Control
Panel\International","Locale",0x00000000,"0411"
HKLM,"SYSTEM\CurrentControlSet\Control\NLS\Language","Default",0x00000000,"0411"
HKLM,"SYSTEM\CurrentControlSet\Control\NLS\Language","InstallLanguage",0x00000000,"0411"
Now please look at these screenshots. http://reactos-j.sourceforge.jp/up/img/081.png http://reactos-j.sourceforge.jp/up/img/082.png
The former uses mona http://monafont.sourceforge.net/index-e.html The latter uses mplus http://www.kaoriya.net/#BDFM+
I'm very sad... Is ReactOS able to handle Japanese font properly? _______________________________________________ Ros-dev mailing list Ros-dev@reactos.org http://www.reactos.org/mailman/listinfo/ros-dev
-- <arty> don't question it ... it's clearly an optimization
Ros-dev mailing list Ros-dev@reactos.org http://www.reactos.org/mailman/listinfo/ros-dev
__________________________________ Start your day with Yahoo! - Make it your home page! http://www.yahoo.com/r/hs
mf suggested one could comment out #define TT_CONFIG_OPTION_EMBEDDED_BITMAPS in lib/freetype/include/freetype/config/ftoption.h to DISABLE the SBIT support. Doing some quick testing, this allows Helmut 12pt to render "correctly", i.e. readable. This may or may not help with the CJK font.
tsk, if you would like to try, I put up a modified freetype.dll at http://waxdragon.homeip.net/~ford/freetype.dll. Give that one a try and see if it helps with your fonts.
WD -- <arty> don't question it ... it's clearly an optimization