Lisp HUG Maillist Archive

font size differences

Hi all

We have a homebrewn music font which we use on Mac OS X and Windows. When drawing using CAPI we need to use a smaller font size on Windows (22) than on Mac OS X (28) to make it look the same. We just though that it had something to do with Windows vs Mac OS X or the fact that the font is packed as a .dfont on Mac OS X and as a .ttf on Windows.
Anyway, now we've started to use Zach Beane's Vecto library and when using it we can use the same font size on Mac OS X (dfont), Windows (ttf) and Linux (ttf) for similar results!
Anyone who wants to share some insight in this matter?

Thanks!
Sven

_______________________________________________
Lisp Hug - the mailing list for LispWorks users
lisp-hug@lispworks.com
http://www.lispworks.com/support/lisp-hug.html


Re: font size differences

Hi,

Mac is (at least it was?) 72DPI and Windows is usually 96DPI by default.

mika

On 1.9.2012, at 11:24, Sven Emtell <sven.emtell@doremir.com> wrote:

> 
> Hi all
> 
> We have a homebrewn music font which we use on Mac OS X and Windows. When drawing using CAPI we need to use a smaller font size on Windows (22) than on Mac OS X (28) to make it look the same. We just though that it had something to do with Windows vs Mac OS X or the fact that the font is packed as a .dfont on Mac OS X and as a .ttf on Windows.
> Anyway, now we've started to use Zach Beane's Vecto library and when using it we can use the same font size on Mac OS X (dfont), Windows (ttf) and Linux (ttf) for similar results!
> Anyone who wants to share some insight in this matter?
> 
> Thanks!
> Sven
> 
> _______________________________________________
> Lisp Hug - the mailing list for LispWorks users
> lisp-hug@lispworks.com
> http://www.lispworks.com/support/lisp-hug.html
> 

Mika Kuuskankare


_______________________________________________
Lisp Hug - the mailing list for LispWorks users
lisp-hug@lispworks.com
http://www.lispworks.com/support/lisp-hug.html


Updated at: 2020-12-10 08:36 UTC