Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] Cocoa - Font metrics

Done
https://bugs.eclipse.org/bugs/show_bug.cgi?id=270531

Dave Smith
Candata Systems Ltd.
416-493-9020x2413
Direct: 416-855-2413




On Mon, Mar 30, 2009 at 5:38 PM, Kevin Barnes <krbarnes@xxxxxxxxxx> wrote:
> Dave,
> please file a bug here: https://bugs.eclipse.org/bugs/enter_bug.cgi
> Please include a test case if you have one.
> Thanks,
> Kevin Barnes
>
>
>
> Dave Smith <dave.smith@xxxxxxxxxxx>
>
>
> Dave Smith <dave.smith@xxxxxxxxxxx>
> Sent by: platform-swt-dev-bounces@xxxxxxxxxxx
>
> 03/30/2009 05:30 PM
>
> Please respond to
> "Eclipse Platform SWT component developers list."
> <platform-swt-dev@xxxxxxxxxxx>
>
> To
> "Eclipse Platform SWT component developers list."
> <platform-swt-dev@xxxxxxxxxxx>
> cc
>
> Subject
> [platform-swt-dev] Cocoa - Font metrics
> We are using 3.5M6 x64.
>
> We have a SWT terminal emulator that uses a Courier New Font. We are
> using GC.getAdvanceWidth('W') to figure out how much space each
> character takes up and GC.getFontMetrics().getHeight() to figure out
> how high each character is.
>
> This works fine in GTK,Windows and Carbon. With the Cocoa port it
> looks like for a 12 point font the width is 2 pixels too small and the
> height is 4 pixels too small.
> Not sure where to go from here.
>
>
> Dave Smith
> Candata Systems Ltd.
> _______________________________________________
> platform-swt-dev mailing list
> platform-swt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/platform-swt-dev
>
>
> _______________________________________________
> platform-swt-dev mailing list
> platform-swt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/platform-swt-dev
>
>


Back to the top