Recent

Author Topic: Printer.XDPI and Printer.YDPI under OSX 10.9  (Read 11850 times)

jesusr

  • Sr. Member
  • ****
  • Posts: 470
Re: Printer.XDPI and Printer.YDPI under OSX 10.9
« Reply #30 on: April 17, 2015, 09:21:22 pm »

If I build again my printing test project I run into the following error:

/Developer/lazarus/components/printers/carbon/carbonprinters_h.inc(86,15) Error: There is no method in an ancestor class to be overridden: "TCarbonPrinter.DoDestroy;"

.....

then I am able to compile without errors, and it seems that XDPI and YDPI are returning the correct resolution.

Anyone can help me to understand what is going on?  :-[

Dan

You are trying to apply the patch to an older Lazarus version, DoDestroy was implemented in r46235.
I think you should try to apply first r46235 and then r48542.

Anyway, that it returns the correct XDPI and YDPI it's good news.

lelebass

  • New Member
  • *
  • Posts: 36
Re: Printer.XDPI and Printer.YDPI under OSX 10.9
« Reply #31 on: April 20, 2015, 05:18:09 pm »
You are trying to apply the patch to an older Lazarus version, DoDestroy was implemented in r46235.
I think you should try to apply first r46235 and then r48542.

Anyway, that it returns the correct XDPI and YDPI it's good news.

Yes, applying r46235 before r48542 seems to work. No more errors during build. :)

Thanks,
Daniele

lelebass

  • New Member
  • *
  • Posts: 36
Re: Printer.XDPI and Printer.YDPI under OSX 10.9
« Reply #32 on: August 25, 2016, 11:41:05 am »
I would like to upgrade from Lazarus 1.2.6 to the newest 1.6.0 version.
But I am unable to find reference to the fix r48507 in the release notes of Lazarus versions >1.2.6.
Do I miss something? Has the bug have been fixed?

Ciao,
Daniele

 

TinyPortal © 2005-2018