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:
Bill Currie 2010-09-23 17:29:52 +09:00
parent 6be1f516f6
commit c0236955f2
2 changed files with 2 additions and 2 deletions

View file

@ -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)

View file

@ -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) {