-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
runtime: Make "mono" select a monospaced font. #358
Conversation
src/runtime/rmswin.ri
Outdated
@@ -1674,10 +1674,14 @@ HFONT mkfont(char *s, char is_3D) | |||
* This is a legal Icon font spec. | |||
* Check first for special "standard" family names. | |||
*/ | |||
if (!strcmp(family, "mono") || !strcmp(family, "fixed")) { | |||
stdfam = "Lucida Sans"; /* Lucida Console? */ | |||
if (!strcmp(family, "mono")) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
indentation is off
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That willl be the tabs (sigh). OK, I'll fix it. There are are times (most of the time, actually) when I wish we could replace every tab in the source code with spaces.
src/runtime/rxwin.ri
Outdated
@@ -5698,10 +5698,14 @@ void mkfont(char *s, char is_3D) | |||
* This is a legal Icon font spec. | |||
* Check first for special "standard" family names. | |||
*/ | |||
if (!strcmp(family, "mono") || !strcmp(family, "fixed")) { | |||
stdfam = "Lucida Sans"; /* Lucida Console? */ | |||
if (!strcmp(family, "mono")) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here
e607a9d
to
5149743
Compare
Previously, "mono" and "fixed" were treated as the same thing and asked for Lucida Sans, which is a proportionally spaced font. Now, "mono" asks for Lucida Console, which is monospaced, and "fixed" selects Lucida Sans (with the correct flags).
5149743
to
5978b26
Compare
runtime: Make "mono" select a monospaced font.
Previously, "mono" and "fixed" were treated as the same thing and asked for Lucida Sans, which is a proportionally spaced font. Now, "mono" asks for Lucida Console, which is monospaced, and "fixed" selects Lucida Sans (with the correct flags).