Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2015-06

Font errors in console output on OSX

10 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Graeme Geldenhuys

Hi,

When I run a fleshly compiled program of mine from the OSX Terminal, I get a lot of font error lines like the following:

===================
graemes-mbp:puntenboek graemeg$ ./puntenboek
CarbonFontIDToFontName Error: ATSUFindFontName Length failed with result -8905
CarbonFontIDToFontName Error: ATSUFindFontName Length failed with result -8905
CarbonFontIDToFontName Error: ATSUFindFontName Length failed with result -8905
CarbonFontIDToFontName Error: ATSUFindFontName Length failed with result -8905
...snip a lot...
===================

Is this normal (something that can be ignored), or is there something wrong in the application, or in LCL-Carbon?

Regards,
Graeme

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150615/6c485259/attachment.html>

Reply by email

Dmitry Boyarintsev
to Graeme Geldenhuys

On Mon, Jun 15, 2015 at 6:55 AM, Graeme Geldenhuys <

Show quoted text 7 lines
wrote: Is this normal (something that can be ignored), or is there something wrong in the application, or in LCL-Carbon? Ignore it. Though you can create a bug report about it.

Carbon is deprecated, no actual interest in fixing the issue. Btw, ATSU APIs has been deprecated since OSX 10.5, and there's no good replacement API for it.

thanks,
Dmitry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150615/d2ddc780/attachment.html>

Reply by email

Graeme Geldenhuys
to Dmitry Boyarintsev
Dmitry Boyarintsev wrote
Carbon is deprecated, no actual interest in fixing the issue.

Is the issue with Carbon or with LCL-Carbon?

So am I supposed to use LCL-Cocoa instead? I thought the LCL-Cocoa widgetset is still in heavy development stage and not ready for production/commercial application usage.

My installed Lazarus IDE is built with LCL-carbon, and Carbon was the default widgetset for a new LCL project.

Regards,
- Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/

Reply by email

Dmitry Boyarintsev
to Graeme Geldenhuys

On Mon, Jun 15, 2015 at 9:56 AM, Graeme Geldenhuys <

Show quoted text 5 lines
wrote: Or is LCL-Qt a better option under OSX? You can (should) definitely try LCL-Qt.

LCL-Cocoa is the best option, but it will require lots of patience and bug reporting.

thanks,
Dmitry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150615/fef32a19/attachment.html>

Reply by email

Dmitry Boyarintsev
to Graeme Geldenhuys: Is the issue with Carbon or with LCL-Carbon? So am I supposed to use LCL-Cocoa instead? I…

On Mon, Jun 15, 2015 at 9:52 AM, Graeme Geldenhuys <

Show quoted text 7 lines
wrote: On 2015-06-15 14:15, Dmitry Boyarintsev wrote: > Carbon is deprecated, no actual interest in fixing the issue. Is the issue with Carbon or with LCL-Carbon?

It's LCL-Carbon issue.

thanks,
Dmitry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20150615/b764dc50/attachment.html>

Reply by email

zeljko
to Graeme Geldenhuys: Or is LCL-Qt a better option under OSX? - Graeme - fpGUI Toolkit - a cross-platform GUI…
Graeme Geldenhuys wrote 5 lines
On 2015-06-15 14:52, Graeme Geldenhuys wrote: >>> Carbon is deprecated, no actual interest in fixing the issue. > Is the issue with Carbon or with LCL-Carbon? Or is LCL-Qt a better option under OSX?

I'm using it (LCL-Qt 32bit...qt-4.7.4 carbon) for commercial (database related) apps....haven't spotted problems. Be aware of 64bit QtLCL (Qt Cocoa 64bit) because of Qt bugs with modal windows.

zeljko

Reply by email

Graeme Geldenhuys
to zeljko
zeljko wrote
I'm using it (LCL-Qt 32bit...qt-4.7.4 carbon) for commercial (database related) apps....haven't spotted problems.

Good to know, thanks. For now I'll stick to LCL-Carbon, seeing that Lazarus IDE uses it too, and it is still the default for OSX. If I find too many problems, I'll start investigating the alternatives.

Out of interest, does LCL-Qt run on Linux, FreeBSD, Windows and OSX equally well? That might be an option too, to overcome the many LCL inconsistencies between platforms.

Regards,
- Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/

Reply by email

zeljko
to Graeme Geldenhuys
Graeme Geldenhuys wrote 7 lines
On 2015-06-15 15:44, zeljko wrote: > I'm using it (LCL-Qt 32bit...qt-4.7.4 carbon) for commercial (database > related) apps....haven't spotted problems. Good to know, thanks. For now I'll stick to LCL-Carbon, seeing that Lazarus IDE uses it too, and it is still the default for OSX. If I find too many problems, I'll start investigating the alternatives.

I'm using QtLCL lazarus build on mac (less bugs than with LCLCarbon and much more stuff implemented).

Out of interest, does LCL-Qt run on Linux, FreeBSD, Windows and OSX equally well? That might be an option too, to overcome the many LCL inconsistencies between platforms.

Don't know for FreeBSD (but probably works, just rebuild libQt4Pas on freebsd), but as I already spotted, my commercial apps running on all of them w/o problems (eg. ERP app, POS systems etc...), of course using QtLCL on all targets.

zeljko

Reply by email

FreeMan
to Graeme Geldenhuys: Good to know, thanks. For now I'll stick to LCL-Carbon, seeing that Lazarus IDE uses it…
Graeme Geldenhuys wrote
Out of interest, does LCL-Qt run on Linux, FreeBSD, Windows and OSX equally well? That might be an option too, to overcome the many LCL inconsistencies between platforms.

My first working with lazarus on kubuntu. I used there qt, cross compiled to win. six month ago started osx on mackbook pro. And now I can cross compiled to linux & win. osx is master system. I haveto use qt 'cos started to project with qt in linux and finished it there, When I try in carbon set in osx,
http://forum.lazarus.freepascal.org/index.php/topic,27144.0.html and I have to continue with qt. zeljko wrote, qt 64 not support official. But I wanna use one code for all system. Why I have to use x64, I used, combined two integer values as one largeint. "123" + "456"

"123456" this small example.

I finished my project. Finished local test. I hope I'll install debian in virtualbox and start to LAN testing then move to data and start new project.
My plan in same LAN, server is debian or kubuntu, clients os will be win, kubuntu and osx.
My experiences, as long as six months on osx, have many problem, but thats be fixing, just take a long time. not much users on osx, so slowly development. My choise is linux, better then osx, of course this is my idea.

Reply by email