Recent

Author Topic: TBCbutton has a problem on osx carbon  (Read 2535 times)

freeman35

  • Jr. Member
  • **
  • Posts: 92
TBCbutton has a problem on osx carbon
« on: January 24, 2015, 07:51:49 pm »
svn checkout svn://svn.code.sf.net/p/lazpaint/code/ lazpaint
svn checkout svn://svn.code.sf.net/p/bgra-controls/code/ bgra-controls
if this links are okey,
TBCbutton caption painting has a problem on osx carbon, svn fpc & lazarus. I attched screenshot

lainz

  • Hero Member
  • *****
  • Posts: 4473
    • https://lainz.github.io/
Re: TBCbutton has a problem on osx carbon
« Reply #1 on: January 26, 2015, 06:10:47 pm »
none of the devs tested it on osx

freeman35

  • Jr. Member
  • **
  • Posts: 92
Re: TBCbutton has a problem on osx carbon
« Reply #2 on: January 27, 2015, 10:06:05 am »
are they planing test in osx? if I'm not rong, yosemite can work in vmwareplayer, or I can test.
my peoject work in win and linux, I wanna add osx too. If answers is no, I have to remove all component from my project :(

circular

  • Hero Member
  • *****
  • Posts: 4221
    • Personal webpage
Re: TBCbutton has a problem on osx carbon
« Reply #3 on: April 20, 2015, 07:57:51 pm »
I think I know where the problem comes from. It is related to the rendering of fonts using OSX. I don't have a Mac so I cannot fix it now.

I guess it is with ClearType rendering. So if you change FontQuality setting, in StateNormal.FontEx, StateHover.FontEx and StateClicked.FontEx, that would solve the problem.
« Last Edit: April 20, 2015, 08:00:22 pm by circular »
Conscience is the debugger of the mind

 

TinyPortal © 2005-2018