[ros-bugs] [Bug 3970] Notepad / LogViewer: font issues

ReactOS.Bugzilla at reactos.org ReactOS.Bugzilla at reactos.org
Thu Apr 15 21:25:20 CEST 2010


http://www.reactos.org/bugzilla/show_bug.cgi?id=3970





--- Comment #10 from mysticode <david at leinbach.name>  2010-04-15 21:25:19 CET ---
If ROS Notepad is unable to locate
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Notepad] then it leaves the edit window
with the default font which appears to be FreeMono.  When it exits it will
write the current settings to the registry which results in a value
lfFaceName="".  After this, starting Notepad causes it to call
CreateFontIndirect.  It appears that if a blank face name is passed to
CreateFontIndirect, it is selecting DejaVu Sans.

In comparison, MS Notepad will attempt to read the lfFaceName value from
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Notepad] and if it is not found it will
assign a default that is hard-coded (Lucida Console).


-- 
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the Ros-bugs mailing list