Sign in Join

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

Mailing lists / lazarus / 2017-12

fix for issue 32894

5 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

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

AlexeyT

+    // Duplicate logic in CreateFontIndirect
+    if not Win32WidgetSet.MetricsFailed and SameText(Font.Name, DefFontData.Name) then

Issue 32894
please, change "and SameText(..)" to

and IsFontNameDefault(Font.Name)
(func in LCLProc made by me)

Regards, Alexey

Reply by email

Mattias Gaertner
to AlexeyT
Show quoted text 9 lines
+    // Duplicate logic in CreateFontIndirect +    if not Win32WidgetSet.MetricsFailed and SameText(Font.Name, DefFontData.Name) then Issue 32894 please, change "and SameText(..)" to and IsFontNameDefault(Font.Name) (func in LCLProc made by me)

Applied.

Mattias

Reply by email

Haruo Toda
to AlexeyT: +    // Duplicate logic in CreateFontIndirect +    if not…

Hello, It's very long since my last post.

I am now moving from Lazarus 1.6.4 to 1.8.0 on MacOSX (El Capitan). But it won't to compile my project which can be build quite well using 1.6.4. Compilation to the error messages, following identifiers are not found:

ATSUFindFontFromName
ATSUFindFontName
FMGetFontFamilyFromName
HIViewChangeFeatures
HIViewSetVisible
HIViewSetFrame
GetControlBounds
SetControlData
GetControlEventTarget
GetThemeFont
GetApplicationScript

Any work-arounds?

Regards,
Haruo Toda, Niigata Japan.

Reply by email

Haruo Toda
to Haruo Toda: Hello, It's very long since my last post. I am now moving from Lazarus 1.6.4 to 1.8.0 on…

Dmitry,

Works greatly!
Thanks!

Haruo

Earlier message 25 lines
----- Original Message ----- Date: Fri, 19 Jan 2018 16:02:19 -0500 To: Lazarus mailing list Subject: Re: [Lazarus] Lazarus 1.8.0: Carbonproc cannot be compiled on El Capitan From: Dmitry Boyarintsev via Lazarus Cc: Dmitry Boyarintsev On Fri, Jan 19, 2018 at 3:01 PM, Haruo Toda via Lazarus < > wrote: > > Any work-arounds? > > > You're compiling for x86_64 (this is a default selection for macOS for a newer FPC version) you need to specify i386 explicitly thanks, Dmitry ----- inline ----- --

Reply by email