[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [platform-swt-dev] Fw: Device.loadFont() no longer works on Mavericks?
|
Hello Arun,
thank you very much for forwarding my message! I will continue my search
for why this might fail for the specific setup.
I tried to follow your suggestion with the forum, but I seem to be
unable to start new topics. I even read the Help section, and it says
there is supposed to be a "New Topic" button below message listings, but
I can't spot such a button anywhere.
One thing I tried to investigate is getting some human readable string
for the error code, but my googling around has produced nothing so far.
I am no Mac programmer, so any hints would be greatly appreciated.
Does Apple actually remove implementations for deprecated APIs from
their libraries so that old apps can break? If that is not the case,
then the problem is likely somewhere else. Even more so when someone
else tested the functionality successfully on 10.9. Still, I would love
to find out what is going on.
Best regards,
-Stephan
On 10.02.2014 12:05, Arun K Thondapu wrote:
Hi Stephan,
Device.loadFont() seems to work on Mac 10.9.1 as Abhishek has mentioned
below, not sure if there is something specific happening in your case.
Can you please attach a code snippet which can demo the problem you're
facing?
Also, please use the SWT Community Forum at
http://eclipse.org/forums/index.php/f/100/ for following up and further
queries of this kind.
Thanks,
Arun
----- Forwarded by Arun K Thondapu/India/IBM on 10-02-14 16:23 -----
Abhishek
Kishore/India/IBM
To
10-02-14 15:41 Arun K Thondapu/India/IBM@IBMIN,
cc
Subject
Re: Fw: [platform-swt-dev]
Device.loadFont() no longer works
on Mavericks?(Document link: Arun K
Thondapu)
Hi,
I tried with system fonts, as well as custom ones, and the load happened
successfully. I was able to use the fonts on widgets also.
Thanks,
Abhishek
From: Arun K Thondapu/India/IBM
To: Abhishek Kishore/India/IBM@IBMIN
Date: 02/06/2014 12:49 AM
Subject: Fw: [platform-swt-dev] Device.loadFont() no longer works on
Mavericks?
Hi Abhishek,
Can you test this on Mac 10.9 when you have a few minutes?
Thanks,
Arun
----- Forwarded by Arun K Thondapu/India/IBM on 06-02-14 00:42 -----
Stephan Aßmus
<superstippi@gmx.
de> To
Sent by: "Eclipse Platform SWT component
platform-swt-dev- developers list."
bounces@eclipse.o <platform-swt-dev@xxxxxxxxxxx>,
rg cc
Subject
04-02-14 22:23 [platform-swt-dev] Device.loadFont
() no longer works on Mavericks?
Please respond to
"Eclipse Platform
SWT component
developers list."
<platform-swt-dev
@eclipse.org>
Hello,
In my stand-alone SWT app, I am using Device.loadFont() in various
situations: To make custom fonts shipped with our app known to SWT for
use in the UI and also to load these fonts to Printers. Since some time,
one of my teammates gets an error that Device.loadFont() did not work
(it returned false, and the custom fonts are visibly not used in the
UI). I am trying to investigate the problem and one thing that sticks
out is that this error might have appeared since she upgraded her system
to Mavericks.
Device.loadFont() uses ATSFontActivateFromFileReference() which is
documented to be deprecated in 10.8. I am using 10.8 and the call still
works. However, might it be that it is no longer supported in 10.9?
The error code returned from ATSFontActivateFromFileReference() is
-3221, if memory serves.
Thanks for any help!
Best regards,
-Stephan
_______________________________________________
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