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
6be1f516f6
commit
c0236955f2
2 changed files with 2 additions and 2 deletions
|
@ -811,7 +811,7 @@ NSRect xy_draw_rect;
|
|||
|
||||
// setup for text
|
||||
// PSselectfont("Helvetica-Medium",10/scale);
|
||||
[[NSFont systemFontOfSize: 10 * scale] set];
|
||||
[[NSFont systemFontOfSize: 10] set];
|
||||
PSrotate (0);
|
||||
|
||||
if (drawmode == dr_texture || drawmode == dr_flat)
|
||||
|
|
|
@ -363,8 +363,8 @@ Rect is in global world (unscaled) coordinates
|
|||
|
||||
[path removeAllPoints];
|
||||
PSsetgray (0); // for text
|
||||
[[NSFont systemFontOfSize: 10 / scale] set];
|
||||
PSrotate (0);
|
||||
[[NSFont systemFontOfSize: 10] set];
|
||||
|
||||
for (; y <= stopy; y += 64) {
|
||||
if (showcoords) {
|
||||
|
|
Loading…
Reference in a new issue