Mac OS X Fonts Messages in syslog

classic Classic list List threaded Threaded
23 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Mac OS X Fonts Messages in syslog

Gerhard Mueller
Using wxWidgets 3.1, Xcode 5.0.2 and Mavericks I get lots of this messages in syslog:

13.01.14 22:06:00,966 OpenCPN[1154]: CoreText performance note: Client called CTFontCreateWithName() using name ".Lucida Grande UI" and got font with PostScript name ".LucidaGrandeUI". For best performance, only use PostScript names when calling this API.

13.01.14 22:48:35,363 OpenCPN[1420]: CoreText performance note: Set a breakpoint on CTFontLogSuboptimalRequest to debug.

Neither CTFontCreateWithName() nor CTFontLogSuboptimalRequest() is used in my application OpenCPN. Also I cannot find these functions in the wxWidgets sources.

However I get these messages also with another application which uses obviously wxWidgets:

13.01.14 18:20:32,007 Poedit[469]: CoreText performance note: Client called CTFontCreateWithName() using name ".Lucida Grande UI" and got font with PostScript name ".LucidaGrandeUI". For best performance, only use PostScript names when calling this API.

13.01.14 18:45:48,503 Poedit[537]: CoreText performance note: Set a breakpoint on CTFontLogSuboptimalRequest to debug.

What is going on here?

Gerhard

--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
 
To unsubscribe, send email to [hidden email]
or visit http://groups.google.com/group/wx-users
Reply | Threaded
Open this post in threaded view
|

Re: Mac OS X Fonts Messages in syslog

Vadim Zeitlin-4
On Tue, 14 Jan 2014 05:27:15 -0800 (PST) Gerhard Mueller wrote:

GM> 13.01.14 22:06:00,966 OpenCPN[1154]: CoreText performance note: Client
GM> > called CTFontCreateWithName() using name ".Lucida Grande UI" and got font
GM> > with PostScript name ".LucidaGrandeUI". For best performance, only use
GM> > PostScript names when calling this API.
GM> >
GM> > 13.01.14 22:48:35,363 OpenCPN[1420]: CoreText performance note: Set a
GM> > breakpoint on CTFontLogSuboptimalRequest to debug.

 Have you tried doing what it advises, i.e. set this breakpoint?

GM> Neither CTFontCreateWithName() nor CTFontLogSuboptimalRequest() is used in
GM> my application OpenCPN. Also I cannot find these functions in the wxWidgets
GM> sources.

 CTFontCreateWithName() is definitely used by wxOSX.

GM> What is going on here?

 It looks like the names of the fonts to use have changed but I really
don't know anything about it.

 Regards,
VZ

--
TT-Solutions: wxWidgets consultancy and technical support
               http://www.tt-solutions.com/

attachment0 (203 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Mac OS X Fonts Messages in syslog

Gerhard Mueller
Vadim,

Am Dienstag, 14. Januar 2014 16:04:53 UTC+1 schrieb Vadim Zeitlin:
On Tue, 14 Jan 2014 05:27:15 -0800 (PST) Gerhard Mueller wrote:

GM> 13.01.14 22:06:00,966 OpenCPN[1154]: CoreText performance note: Client
GM> > called CTFontCreateWithName() using name ".Lucida Grande UI" and got font
GM> > with PostScript name ".LucidaGrandeUI". For best performance, only use
GM> > PostScript names when calling this API.
GM> >
GM> > 13.01.14 22:48:35,363 OpenCPN[1420]: CoreText performance note: Set a
GM> > breakpoint on CTFontLogSuboptimalRequest to debug.

 Have you tried doing what it advises, i.e. set this breakpoint?
I cannot set a breakpoint because I cannot find the function CTFontLogSuboptimalReques() neither in my app code nor in the wxWidgets sources.

GM> Neither CTFontCreateWithName() nor CTFontLogSuboptimalRequest() is used in
GM> my application OpenCPN. Also I cannot find these functions in the wxWidgets
GM> sources.

 CTFontCreateWithName() is definitely used by wxOSX.
Yes, I have found CTFontCreateWithName() used in wxWidgets src/osx/carbon/font.cpp
It has a TODO remark there. So it seems something is missing in the wxWidgets code.

GM> What is going on here?

 It looks like the names of the fonts to use have changed but I really
don't know anything about it.
 
 So I suggest to put this issue into the wxWidgets bug list.
 After all it seems all applications using wxWidgets are affected on Mac OS X.

 Regards,
VZ

--
TT-Solutions: wxWidgets consultancy and technical support
               <a href="http://www.tt-solutions.com/" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fwww.tt-solutions.com%2F\46sa\75D\46sntz\0751\46usg\75AFQjCNFhPHTZbdYZYM-AqcnZXykG1ueWhw';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fwww.tt-solutions.com%2F\46sa\75D\46sntz\0751\46usg\75AFQjCNFhPHTZbdYZYM-AqcnZXykG1ueWhw';return true;">http://www.tt-solutions.com/

--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
 
To unsubscribe, send email to [hidden email]
or visit http://groups.google.com/group/wx-users
Reply | Threaded
Open this post in threaded view
|

Re[2]: Mac OS X Fonts Messages in syslog

Vadim Zeitlin-4
On Tue, 14 Jan 2014 08:30:17 -0800 (PST) Gerhard Mueller wrote:

GM> >  Have you tried doing what it advises, i.e. set this breakpoint?
GM> >
GM> I cannot set a breakpoint because I cannot find the function
GM> CTFontLogSuboptimalReques() neither in my app code nor in the wxWidgets
GM> sources.

 You don't need to find it. Just do "b CTFontLogSuboptimalRequest" on gdb
prompt.

 Regards,
VZ

--
TT-Solutions: wxWidgets consultancy and technical support
               http://www.tt-solutions.com/

attachment0 (203 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Mac OS X Fonts Messages in syslog

Gerhard Mueller
In reply to this post by Vadim Zeitlin-4
Vadim,

Am Dienstag, 14. Januar 2014 16:04:53 UTC+1 schrieb Vadim Zeitlin:
On Tue, 14 Jan 2014 05:27:15 -0800 (PST) Gerhard Mueller wrote:

GM> 13.01.14 22:06:00,966 OpenCPN[1154]: CoreText performance note: Client
GM> > called CTFontCreateWithName() using name ".Lucida Grande UI" and got font
GM> > with PostScript name ".LucidaGrandeUI". For best performance, only use
GM> > PostScript names when calling this API.
GM> >
GM> > 13.01.14 22:48:35,363 OpenCPN[1420]: CoreText performance note: Set a
GM> > breakpoint on CTFontLogSuboptimalRequest to debug.

 Have you tried doing what it advises, i.e. set this breakpoint?
I cannot set a breakpoint because I cannot find the function CTFontLogSuboptimalReques() neither in my app code nor in the wxWidgets sources.

GM> Neither CTFontCreateWithName() nor CTFontLogSuboptimalRequest() is used in
GM> my application OpenCPN. Also I cannot find these functions in the wxWidgets
GM> sources.

 CTFontCreateWithName() is definitely used by wxOSX.
Yes, I have found CTFontCreateWithName() used in wxWidgets src/osx/carbon/font.cpp
It has a TODO remark there. So it seems something is missing in the wxWidgets code.

GM> What is going on here?

 It looks like the names of the fonts to use have changed but I really
don't know anything about it.
 
 So I suggest to put this issue into the wxWidgets bug list.
 After all it seems all applications using wxWidgets are affected on Mac OS X.

 Regards,
VZ

--
TT-Solutions: wxWidgets consultancy and technical support
               <a href="http://www.tt-solutions.com/" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fwww.tt-solutions.com%2F\46sa\75D\46sntz\0751\46usg\75AFQjCNFhPHTZbdYZYM-AqcnZXykG1ueWhw';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fwww.tt-solutions.com%2F\46sa\75D\46sntz\0751\46usg\75AFQjCNFhPHTZbdYZYM-AqcnZXykG1ueWhw';return true;">http://www.tt-solutions.com/

--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
 
To unsubscribe, send email to [hidden email]
or visit http://groups.google.com/group/wx-users
Reply | Threaded
Open this post in threaded view
|

Re: Re[2]: Mac OS X Fonts Messages in syslog

Gerhard Mueller
In reply to this post by Vadim Zeitlin-4
I am not on Linux, I use Xcode on Mac OS X.

I should ask Stefan Csomor. Maybe he knows something.

Gerhard

Am Dienstag, 14. Januar 2014 17:31:29 UTC+1 schrieb Vadim Zeitlin:
On Tue, 14 Jan 2014 08:30:17 -0800 (PST) Gerhard Mueller wrote:

GM> >  Have you tried doing what it advises, i.e. set this breakpoint?
GM> >
GM> I cannot set a breakpoint because I cannot find the function
GM> CTFontLogSuboptimalReques() neither in my app code nor in the wxWidgets
GM> sources.

 You don't need to find it. Just do "b CTFontLogSuboptimalRequest" on gdb
prompt.

 Regards,
VZ

--
TT-Solutions: wxWidgets consultancy and technical support
               <a href="http://www.tt-solutions.com/" target="_blank" onmousedown="this.href='http://www.google.com/url?q\75http%3A%2F%2Fwww.tt-solutions.com%2F\46sa\75D\46sntz\0751\46usg\75AFQjCNFhPHTZbdYZYM-AqcnZXykG1ueWhw';return true;" onclick="this.href='http://www.google.com/url?q\75http%3A%2F%2Fwww.tt-solutions.com%2F\46sa\75D\46sntz\0751\46usg\75AFQjCNFhPHTZbdYZYM-AqcnZXykG1ueWhw';return true;">http://www.tt-solutions.com/

--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
 
To unsubscribe, send email to [hidden email]
or visit http://groups.google.com/group/wx-users
Reply | Threaded
Open this post in threaded view
|

Re[4]: Mac OS X Fonts Messages in syslog

Vadim Zeitlin-4
On Tue, 14 Jan 2014 09:11:42 -0800 (PST) Gerhard Mueller wrote:

GM> I am not on Linux, I use Xcode on Mac OS X.

 gdb also runs under OS X and all you need to do is to run your program
under it, set this breakpoint and do "bt" when it's hit. And, FWIW, Xcode
gives, or at least used to give, you access to gdb too (as well as a way to
set a breakpoint on function name, somewhere inside its myriad of menus,
I'm sure).

 Regards,
VZ

--
TT-Solutions: wxWidgets consultancy and technical support
               http://www.tt-solutions.com/

attachment0 (203 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Mac OS X Fonts Messages in syslog

Stefan Csomor
In reply to this post by Gerhard Mueller
Hi

Using wxWidgets 3.1, Xcode 5.0.2 and Mavericks I get lots of this messages in syslog:

13.01.14 22:06:00,966 OpenCPN[1154]: CoreText performance note: Client called CTFontCreateWithName() using name ".Lucida Grande UI" and got font with PostScript name ".LucidaGrandeUI". For best performance, only use PostScript names when calling this API.

13.01.14 22:48:35,363 OpenCPN[1420]: CoreText performance note: Set a breakpoint on CTFontLogSuboptimalRequest to debug.

Neither CTFontCreateWithName() nor CTFontLogSuboptimalRequest() is used in my application OpenCPN. Also I cannot find these functions in the wxWidgets sources.

you shouldn't get a lot of these warnings, are you always recreating wxFonts ? if possible you should keep them around

Best,

Stefan


--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
 
To unsubscribe, send email to [hidden email]
or visit http://groups.google.com/group/wx-users
Reply | Threaded
Open this post in threaded view
|

Re: Mac OS X Fonts Messages in syslog

Gerhard Mueller
So there is no way to call CTFontCreateWithName() with the correct font names? Is this a bug in OS X or in wxWidgets?

Gerhard

Am Dienstag, 14. Januar 2014 18:21:23 UTC+1 schrieb Stefan Csomor:
Hi

Using wxWidgets 3.1, Xcode 5.0.2 and Mavericks I get lots of this messages in syslog:

13.01.14 22:06:00,966 OpenCPN[1154]: CoreText performance note: Client called CTFontCreateWithName() using name ".Lucida Grande UI" and got font with PostScript name ".LucidaGrandeUI". For best performance, only use PostScript names when calling this API.

13.01.14 22:48:35,363 OpenCPN[1420]: CoreText performance note: Set a breakpoint on CTFontLogSuboptimalRequest to debug.

Neither CTFontCreateWithName() nor CTFontLogSuboptimalRequest() is used in my application OpenCPN. Also I cannot find these functions in the wxWidgets sources.

you shouldn't get a lot of these warnings, are you always recreating wxFonts ? if possible you should keep them around

Best,

Stefan


--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
 
To unsubscribe, send email to [hidden email]
or visit http://groups.google.com/group/wx-users
Reply | Threaded
Open this post in threaded view
|

Re: Mac OS X Fonts Messages in syslog

Robin Dunn
In reply to this post by Stefan Csomor
Stefan Csomor wrote:

> Hi
>
>     Using wxWidgets 3.1, Xcode 5.0.2 and Mavericks I get lots of this
>     messages in syslog:
>
>         13.01.14 22:06:00,966 OpenCPN[1154]: CoreText performance note:
>         Client called CTFontCreateWithName() using name ".Lucida Grande
>         UI" and got font with PostScript name ".LucidaGrandeUI". For
>         best performance, only use PostScript names when calling this API.
>
>         13.01.14 22:48:35,363 OpenCPN[1420]: CoreText performance note:
>         Set a breakpoint on CTFontLogSuboptimalRequest to debug.
>
>
>     Neither CTFontCreateWithName() nor CTFontLogSuboptimalRequest() is
>     used in my application OpenCPN. Also I cannot find these functions
>     in the wxWidgets sources.
>
>
> you shouldn't get a lot of these warnings, are you always recreating
> wxFonts ? if possible you should keep them around


FWIW, Qt has had what looks like the same issue.

https://bugreports.qt-project.org/browse/QTBUG-32789


--
Robin Dunn
Software Craftsman
http://wxPython.org

--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.

To unsubscribe, send email to [hidden email]
or visit http://groups.google.com/group/wx-users
Reply | Threaded
Open this post in threaded view
|

Re: Mac OS X Fonts Messages in syslog

Stefan Csomor
Hi

>Stefan Csomor wrote:
>> Hi
>>
>>     Using wxWidgets 3.1, Xcode 5.0.2 and Mavericks I get lots of this
>>     messages in syslog:
>>
>>         13.01.14 22:06:00,966 OpenCPN[1154]: CoreText performance note:
>>         Client called CTFontCreateWithName() using name ".Lucida Grande
>>         UI" and got font with PostScript name ".LucidaGrandeUI". For
>>         best performance, only use PostScript names when calling this
>>API.
>>
>>         13.01.14 22:48:35,363 OpenCPN[1420]: CoreText performance note:
>>         Set a breakpoint on CTFontLogSuboptimalRequest to debug.
>>
>>
>>     Neither CTFontCreateWithName() nor CTFontLogSuboptimalRequest() is
>>     used in my application OpenCPN. Also I cannot find these functions
>>     in the wxWidgets sources.
>>
>>
>> you shouldn't get a lot of these warnings, are you always recreating
>> wxFonts ? if possible you should keep them around
>
>
>FWIW, Qt has had what looks like the same issue.
>
>https://bugreports.qt-project.org/browse/QTBUG-32789

no that's not the same issue, did you post the wrong link ? our issue is a
performance warning we are getting because we are using the Family Name
instead of the PostScript Name.

Best,

Stefan

--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.

To unsubscribe, send email to [hidden email]
or visit http://groups.google.com/group/wx-users
Reply | Threaded
Open this post in threaded view
|

Re: Mac OS X Fonts Messages in syslog

Gerhard Mueller
Stefan,

it seems the bug has been solved in Qt but not in wxWidgets right now:

See: https://bugreports.qt-project.org/browse/QTBUG-32789
and read, it is (was) the same issue as in wxWidgets.

Should I switch my program to Qt from wxWidgets although that is a lot of work for me?

Gerhard

Am Dienstag, 21. Januar 2014 19:13:30 UTC+1 schrieb Stefan Csomor:
Hi

>Stefan Csomor wrote:
>> Hi
>>
>>     Using wxWidgets 3.1, Xcode 5.0.2 and Mavericks I get lots of this
>>     messages in syslog:
>>
>>         13.01.14 22:06:00,966 OpenCPN[1154]: CoreText performance note:
>>         Client called CTFontCreateWithName() using name ".Lucida Grande
>>         UI" and got font with PostScript name ".LucidaGrandeUI". For
>>         best performance, only use PostScript names when calling this
>>API.
>>
>>         13.01.14 22:48:35,363 OpenCPN[1420]: CoreText performance note:
>>         Set a breakpoint on CTFontLogSuboptimalRequest to debug.
>>
>>
>>     Neither CTFontCreateWithName() nor CTFontLogSuboptimalRequest() is
>>     used in my application OpenCPN. Also I cannot find these functions
>>     in the wxWidgets sources.
>>
>>
>> you shouldn't get a lot of these warnings, are you always recreating
>> wxFonts ? if possible you should keep them around
>
>
>FWIW, Qt has had what looks like the same issue.
>
><a href="https://bugreports.qt-project.org/browse/QTBUG-32789" target="_blank" onmousedown="this.href='https://www.google.com/url?q\75https%3A%2F%2Fbugreports.qt-project.org%2Fbrowse%2FQTBUG-32789\46sa\75D\46sntz\0751\46usg\75AFQjCNGEuijshnB_xYC4M1zMzpW-Z-Z9OA';return true;" onclick="this.href='https://www.google.com/url?q\75https%3A%2F%2Fbugreports.qt-project.org%2Fbrowse%2FQTBUG-32789\46sa\75D\46sntz\0751\46usg\75AFQjCNGEuijshnB_xYC4M1zMzpW-Z-Z9OA';return true;">https://bugreports.qt-project.org/browse/QTBUG-32789

no that's not the same issue, did you post the wrong link ? our issue is a
performance warning we are getting because we are using the Family Name
instead of the PostScript Name.

Best,

Stefan

--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
 
To unsubscribe, send email to [hidden email]
or visit http://groups.google.com/group/wx-users
Reply | Threaded
Open this post in threaded view
|

Re: Mac OS X Fonts Messages in syslog

Stefan Csomor
Hi

Von: Gerhard Mueller <[hidden email]>
Antworten an: "[hidden email]" <[hidden email]>
Datum: Dienstag, 22. April 2014 12:12
An: "[hidden email]" <[hidden email]>
Betreff: Re: Mac OS X Fonts Messages in syslog

Stefan,

it seems the bug has been solved in Qt but not in wxWidgets right now:

See: https://bugreports.qt-project.org/browse/QTBUG-32789
and read, it is (was) the same issue as in wxWidgets.

Should I switch my program to Qt from wxWidgets although that is a lot of work for me?

The problem is not the same, wx does not hardcode the font's name. but refers to the system font by constants as it is recommended. The performance warning occurs because of the externally presented human readable font names and their internal name. trunk has been updated to cache the name conversion between human readable names and postscript names. So the warning occurs once per font which still is faster than precaching all fontnames. 

Best,

Stefan

--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
 
To unsubscribe, send email to [hidden email]
or visit http://groups.google.com/group/wx-users
Reply | Threaded
Open this post in threaded view
|

Re: Mac OS X Fonts Messages in syslog

Gerhard Mueller
I don't know anything about internals of wxWidgets or Qt.
Is there any function in wxWidgets to get rid of the ugly messages like in Qt?
In Qt they obviously use: QFont::insertSubstitution(".Lucida Grande UI", "Lucida Grande");

Gerhard

Am Dienstag, 22. April 2014 16:31:35 UTC+2 schrieb Stefan Csomor:
Hi

Von: Gerhard Mueller <<a href="javascript:" style="font-family:Calibri;font-size:11pt;text-align:left" target="_blank" gdf-obfuscated-mailto="FrRc411FaKEJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">carcode...@googlemail.com>
Antworten an: "<a href="javascript:" target="_blank" gdf-obfuscated-mailto="FrRc411FaKEJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">wx-u...@..." <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="FrRc411FaKEJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">wx-u...@...>
Datum: Dienstag, 22. April 2014 12:12
An: "<a href="javascript:" target="_blank" gdf-obfuscated-mailto="FrRc411FaKEJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">wx-u...@..." <<a href="javascript:" target="_blank" gdf-obfuscated-mailto="FrRc411FaKEJ" onmousedown="this.href='javascript:';return true;" onclick="this.href='javascript:';return true;">wx-u...@...>
Betreff: Re: Mac OS X Fonts Messages in syslog

Stefan,

it seems the bug has been solved in Qt but not in wxWidgets right now:

See: <a href="https://bugreports.qt-project.org/browse/QTBUG-32789" target="_blank" onmousedown="this.href='https://www.google.com/url?q\75https%3A%2F%2Fbugreports.qt-project.org%2Fbrowse%2FQTBUG-32789\46sa\75D\46sntz\0751\46usg\75AFQjCNGEuijshnB_xYC4M1zMzpW-Z-Z9OA';return true;" onclick="this.href='https://www.google.com/url?q\75https%3A%2F%2Fbugreports.qt-project.org%2Fbrowse%2FQTBUG-32789\46sa\75D\46sntz\0751\46usg\75AFQjCNGEuijshnB_xYC4M1zMzpW-Z-Z9OA';return true;">https://bugreports.qt-project.org/browse/QTBUG-32789
and read, it is (was) the same issue as in wxWidgets.

Should I switch my program to Qt from wxWidgets although that is a lot of work for me?

The problem is not the same, wx does not hardcode the font's name. but refers to the system font by constants as it is recommended. The performance warning occurs because of the externally presented human readable font names and their internal name. trunk has been updated to cache the name conversion between human readable names and postscript names. So the warning occurs once per font which still is faster than precaching all fontnames. 

Best,

Stefan

--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
 
To unsubscribe, send email to [hidden email]
or visit http://groups.google.com/group/wx-users
Reply | Threaded
Open this post in threaded view
|

Re: Mac OS X Fonts Messages in syslog

Marcin Wojdyr-3
In reply to this post by Stefan Csomor
On Tuesday, January 21, 2014 6:13:30 PM UTC, Stefan Csomor wrote:
 
>FWIW, Qt has had what looks like the same issue.
>
><a href="https://bugreports.qt-project.org/browse/QTBUG-32789" target="_blank" onmousedown="this.href='https://www.google.com/url?q\75https%3A%2F%2Fbugreports.qt-project.org%2Fbrowse%2FQTBUG-32789\46sa\75D\46sntz\0751\46usg\75AFQjCNGEuijshnB_xYC4M1zMzpW-Z-Z9OA';return true;" onclick="this.href='https://www.google.com/url?q\75https%3A%2F%2Fbugreports.qt-project.org%2Fbrowse%2FQTBUG-32789\46sa\75D\46sntz\0751\46usg\75AFQjCNGEuijshnB_xYC4M1zMzpW-Z-Z9OA';return true;">https://bugreports.qt-project.org/browse/QTBUG-32789

no that's not the same issue, did you post the wrong link ? our issue is a
performance warning we are getting because we are using the Family Name
instead of the PostScript Name.

 
From what I understand they had this:
https://codereview.qt-project.org/69321

Pass postscript font name to CTFontCreateWithName

This removes the the "CoreText performance note"
console warnings.

but then it was superseded by the ticket Robin linked to and fixed here:

https://qt.gitorious.org/qt/qt/commit/98352b964f8a11751af89813c9524c35b67a5633

Marcin

--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
 
To unsubscribe, send email to [hidden email]
or visit http://groups.google.com/group/wx-users
Reply | Threaded
Open this post in threaded view
|

Re: Mac OS X Fonts Messages in syslog

Gerhard Mueller
Marcin,

yes, I see, they have fixed that in Qt anyhow.
But why they could not fix that in wxWidgets?
It's another argument for me not to use wxWidgets anymore.

Gerhard

Am Dienstag, 22. April 2014 22:19:54 UTC+2 schrieb [hidden email]:
On Tuesday, January 21, 2014 6:13:30 PM UTC, Stefan Csomor wrote:
 
>FWIW, Qt has had what looks like the same issue.
>
><a href="https://bugreports.qt-project.org/browse/QTBUG-32789" target="_blank" onmousedown="this.href='https://www.google.com/url?q\75https%3A%2F%2Fbugreports.qt-project.org%2Fbrowse%2FQTBUG-32789\46sa\75D\46sntz\0751\46usg\75AFQjCNGEuijshnB_xYC4M1zMzpW-Z-Z9OA';return true;" onclick="this.href='https://www.google.com/url?q\75https%3A%2F%2Fbugreports.qt-project.org%2Fbrowse%2FQTBUG-32789\46sa\75D\46sntz\0751\46usg\75AFQjCNGEuijshnB_xYC4M1zMzpW-Z-Z9OA';return true;">https://bugreports.qt-project.org/browse/QTBUG-32789

no that's not the same issue, did you post the wrong link ? our issue is a
performance warning we are getting because we are using the Family Name
instead of the PostScript Name.

 
From what I understand they had this:
<a href="https://codereview.qt-project.org/69321" target="_blank" onmousedown="this.href='https://www.google.com/url?q\75https%3A%2F%2Fcodereview.qt-project.org%2F69321\46sa\75D\46sntz\0751\46usg\75AFQjCNEpSw1QoaMSUnOq_nSqO57DgqBIUA';return true;" onclick="this.href='https://www.google.com/url?q\75https%3A%2F%2Fcodereview.qt-project.org%2F69321\46sa\75D\46sntz\0751\46usg\75AFQjCNEpSw1QoaMSUnOq_nSqO57DgqBIUA';return true;">https://codereview.qt-project.org/69321

Pass postscript font name to CTFontCreateWithName

This removes the the "CoreText performance note"
console warnings.

but then it was superseded by the ticket Robin linked to and fixed here:

<a href="https://qt.gitorious.org/qt/qt/commit/98352b964f8a11751af89813c9524c35b67a5633" target="_blank" onmousedown="this.href='https://www.google.com/url?q\75https%3A%2F%2Fqt.gitorious.org%2Fqt%2Fqt%2Fcommit%2F98352b964f8a11751af89813c9524c35b67a5633\46sa\75D\46sntz\0751\46usg\75AFQjCNGEOwABzhqHxedZgl_gYM722dCMzw';return true;" onclick="this.href='https://www.google.com/url?q\75https%3A%2F%2Fqt.gitorious.org%2Fqt%2Fqt%2Fcommit%2F98352b964f8a11751af89813c9524c35b67a5633\46sa\75D\46sntz\0751\46usg\75AFQjCNGEOwABzhqHxedZgl_gYM722dCMzw';return true;">https://qt.gitorious.org/qt/qt/commit/98352b964f8a11751af89813c9524c35b67a5633

Marcin

--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
 
To unsubscribe, send email to [hidden email]
or visit http://groups.google.com/group/wx-users
Reply | Threaded
Open this post in threaded view
|

Re: Mac OS X Fonts Messages in syslog

Marcin Wojdyr-3
Gerhard,
the best way to push such fix is to prepare a patch and test it on as
many OSX versions as you can
Marcin

On 23 April 2014 12:26, Gerhard Mueller <[hidden email]> wrote:

> Marcin,
>
> yes, I see, they have fixed that in Qt anyhow.
> But why they could not fix that in wxWidgets?
> It's another argument for me not to use wxWidgets anymore.
>
> Gerhard
>
> Am Dienstag, 22. April 2014 22:19:54 UTC+2 schrieb [hidden email]:
>>
>> On Tuesday, January 21, 2014 6:13:30 PM UTC, Stefan Csomor wrote:
>>
>>>
>>> >FWIW, Qt has had what looks like the same issue.
>>> >
>>> >https://bugreports.qt-project.org/browse/QTBUG-32789
>>>
>>> no that's not the same issue, did you post the wrong link ? our issue is
>>> a
>>> performance warning we are getting because we are using the Family Name
>>> instead of the PostScript Name.
>>>
>>
>> From what I understand they had this:
>> https://codereview.qt-project.org/69321
>>
>> Pass postscript font name to CTFontCreateWithName
>>
>> This removes the the "CoreText performance note"
>> console warnings.
>>
>> but then it was superseded by the ticket Robin linked to and fixed here:
>>
>>
>> https://qt.gitorious.org/qt/qt/commit/98352b964f8a11751af89813c9524c35b67a5633
>>
>> Marcin
>
> --
> Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
>
> To unsubscribe, send email to [hidden email]
> or visit http://groups.google.com/group/wx-users

--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.

To unsubscribe, send email to [hidden email]
or visit http://groups.google.com/group/wx-users
Reply | Threaded
Open this post in threaded view
|

Re: Mac OS X Fonts Messages in syslog

Stefan Csomor
Hi

I had written the code using a font descriptor lookup many years ago, it
is still in the sources, I had to deactivate it because it was a lot
slower than the built-in CreateWithName fallbacks, but I'll mix it in
again, and use it once per fontname, that way the performance warning goes
away, and I afterwards add the family and postscript names to the cache so
that the next time the same font is asked for I can use CreateWithNAme
directly. So the speed problem doesn't occur.

Best,

Stefan

-----Ursprüngliche Nachricht-----
Von: Marcin Wojdyr <[hidden email]>
Antworten an: "[hidden email]" <[hidden email]>
Datum: Mittwoch, 23. April 2014 13:45
An: "[hidden email]" <[hidden email]>
Betreff: Re: Mac OS X Fonts Messages in syslog

>Gerhard,
>the best way to push such fix is to prepare a patch and test it on as
>many OSX versions as you can
>Marcin
>
>On 23 April 2014 12:26, Gerhard Mueller <[hidden email]>
>wrote:
>> Marcin,
>>
>> yes, I see, they have fixed that in Qt anyhow.
>> But why they could not fix that in wxWidgets?
>> It's another argument for me not to use wxWidgets anymore.
>>
>> Gerhard
>>
>> Am Dienstag, 22. April 2014 22:19:54 UTC+2 schrieb [hidden email]:
>>>
>>> On Tuesday, January 21, 2014 6:13:30 PM UTC, Stefan Csomor wrote:
>>>
>>>>
>>>> >FWIW, Qt has had what looks like the same issue.
>>>> >
>>>> >https://bugreports.qt-project.org/browse/QTBUG-32789
>>>>
>>>> no that's not the same issue, did you post the wrong link ? our issue
>>>>is
>>>> a
>>>> performance warning we are getting because we are using the Family
>>>>Name
>>>> instead of the PostScript Name.
>>>>
>>>
>>> From what I understand they had this:
>>> https://codereview.qt-project.org/69321
>>>
>>> Pass postscript font name to CTFontCreateWithName
>>>
>>> This removes the the "CoreText performance note"
>>> console warnings.
>>>
>>> but then it was superseded by the ticket Robin linked to and fixed
>>>here:
>>>
>>>
>>>
>>>https://qt.gitorious.org/qt/qt/commit/98352b964f8a11751af89813c9524c35b6
>>>7a5633
>>>
>>> Marcin
>>
>> --
>> Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
>>
>> To unsubscribe, send email to [hidden email]
>> or visit http://groups.google.com/group/wx-users
>
>--
>Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
>
>To unsubscribe, send email to [hidden email]
>or visit http://groups.google.com/group/wx-users
>

--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.

To unsubscribe, send email to [hidden email]
or visit http://groups.google.com/group/wx-users
Reply | Threaded
Open this post in threaded view
|

Re[2]: Mac OS X Fonts Messages in syslog

Vadim Zeitlin-4
In reply to this post by Gerhard Mueller
On Wed, 23 Apr 2014 04:26:59 -0700 (PDT) Gerhard Mueller wrote:

GM> yes, I see, they have fixed that in Qt anyhow.
GM> But why they could not fix that in wxWidgets?
GM> It's another argument for me not to use wxWidgets anymore.

 You repeatedly seem to be looking for an excuse to not use wxWidgets. I
don't really understand this, who is forcing you to use it? If you don't
want to use it, this is absolutely not a problem at all but it seems rather
strange to repeatedly post it to the wxWidgets list. What are you trying to
achieve exactly?

 As for the bug itself, I'm not a Mac expert, but AFAICS there is simply no
real problem at all since Stefan's fixes. But, again, I don't have the
impression that you are interested in solving anything anyhow.

 Are you?
VZ

--
TT-Solutions: wxWidgets consultancy and technical support
               http://www.tt-solutions.com/

attachment0 (203 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Mac OS X Fonts Messages in syslog

Stefan Csomor
In reply to this post by Stefan Csomor
committed in r76393 <http://trac.wxwidgets.org/changeset/76393>

Best,

Stefan

-----Ursprüngliche Nachricht-----
Von: Stefan Csomor <[hidden email]>
Antworten an: "[hidden email]" <[hidden email]>
Datum: Mittwoch, 23. April 2014 14:16
An: "[hidden email]" <[hidden email]>
Betreff: Re: Mac OS X Fonts Messages in syslog

>Hi
>
>I had written the code using a font descriptor lookup many years ago, it
>is still in the sources, I had to deactivate it because it was a lot
>slower than the built-in CreateWithName fallbacks, but I'll mix it in
>again, and use it once per fontname, that way the performance warning goes
>away, and I afterwards add the family and postscript names to the cache so
>that the next time the same font is asked for I can use CreateWithNAme
>directly. So the speed problem doesn't occur.
>
>Best,
>
>Stefan
>
>-----Ursprüngliche Nachricht-----
>Von: Marcin Wojdyr <[hidden email]>
>Antworten an: "[hidden email]" <[hidden email]>
>Datum: Mittwoch, 23. April 2014 13:45
>An: "[hidden email]" <[hidden email]>
>Betreff: Re: Mac OS X Fonts Messages in syslog
>
>>Gerhard,
>>the best way to push such fix is to prepare a patch and test it on as
>>many OSX versions as you can
>>Marcin
>>
>>On 23 April 2014 12:26, Gerhard Mueller <[hidden email]>
>>wrote:
>>> Marcin,
>>>
>>> yes, I see, they have fixed that in Qt anyhow.
>>> But why they could not fix that in wxWidgets?
>>> It's another argument for me not to use wxWidgets anymore.
>>>
>>> Gerhard
>>>
>>> Am Dienstag, 22. April 2014 22:19:54 UTC+2 schrieb [hidden email]:
>>>>
>>>> On Tuesday, January 21, 2014 6:13:30 PM UTC, Stefan Csomor wrote:
>>>>
>>>>>
>>>>> >FWIW, Qt has had what looks like the same issue.
>>>>> >
>>>>> >https://bugreports.qt-project.org/browse/QTBUG-32789
>>>>>
>>>>> no that's not the same issue, did you post the wrong link ? our issue
>>>>>is
>>>>> a
>>>>> performance warning we are getting because we are using the Family
>>>>>Name
>>>>> instead of the PostScript Name.
>>>>>
>>>>
>>>> From what I understand they had this:
>>>> https://codereview.qt-project.org/69321
>>>>
>>>> Pass postscript font name to CTFontCreateWithName
>>>>
>>>> This removes the the "CoreText performance note"
>>>> console warnings.
>>>>
>>>> but then it was superseded by the ticket Robin linked to and fixed
>>>>here:
>>>>
>>>>
>>>>
>>>>https://qt.gitorious.org/qt/qt/commit/98352b964f8a11751af89813c9524c35b
>>>>6
>>>>7a5633
>>>>
>>>> Marcin
>>>
>>> --
>>> Please read http://www.wxwidgets.org/support/mlhowto.htm before
>>>posting.
>>>
>>> To unsubscribe, send email to [hidden email]
>>> or visit http://groups.google.com/group/wx-users
>>
>>--
>>Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
>>
>>To unsubscribe, send email to [hidden email]
>>or visit http://groups.google.com/group/wx-users
>>
>
>--
>Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
>
>To unsubscribe, send email to [hidden email]
>or visit http://groups.google.com/group/wx-users
>

--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.

To unsubscribe, send email to [hidden email]
or visit http://groups.google.com/group/wx-users
12