mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
Don't change the font size when scaling the views.
This keeps the displayed size of the text constant (text size is independent of bounds/frame scaling)
This commit is contained in:
parent
1262dee2eb
commit
1561eac7a4
2 changed files with 2 additions and 2 deletions
|
@ -811,7 +811,7 @@ NSRect xy_draw_rect;
|
||||||
|
|
||||||
// setup for text
|
// setup for text
|
||||||
// PSselectfont("Helvetica-Medium",10/scale);
|
// PSselectfont("Helvetica-Medium",10/scale);
|
||||||
[[NSFont systemFontOfSize: 10 * scale] set];
|
[[NSFont systemFontOfSize: 10] set];
|
||||||
PSrotate (0);
|
PSrotate (0);
|
||||||
|
|
||||||
if (drawmode == dr_texture || drawmode == dr_flat)
|
if (drawmode == dr_texture || drawmode == dr_flat)
|
||||||
|
|
|
@ -363,8 +363,8 @@ Rect is in global world (unscaled) coordinates
|
||||||
|
|
||||||
[path removeAllPoints];
|
[path removeAllPoints];
|
||||||
PSsetgray (0); // for text
|
PSsetgray (0); // for text
|
||||||
[[NSFont systemFontOfSize: 10 / scale] set];
|
|
||||||
PSrotate (0);
|
PSrotate (0);
|
||||||
|
[[NSFont systemFontOfSize: 10] set];
|
||||||
|
|
||||||
for (; y <= stopy; y += 64) {
|
for (; y <= stopy; y += 64) {
|
||||||
if (showcoords) {
|
if (showcoords) {
|
||||||
|
|
Loading…
Reference in a new issue