From 8f9d9d8b118be48234c92409cf93c12f55572250 Mon Sep 17 00:00:00 2001 From: tombo Date: Tue, 14 Oct 2008 14:44:17 +0000 Subject: [PATCH] LCL carbon: allow font substitution by default git-svn-id: trunk@16992 - --- lcl/interfaces/carbon/carbongdiobjects.pp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lcl/interfaces/carbon/carbongdiobjects.pp b/lcl/interfaces/carbon/carbongdiobjects.pp index 7872e93af5..c76d01ba5c 100644 --- a/lcl/interfaces/carbon/carbongdiobjects.pp +++ b/lcl/interfaces/carbon/carbongdiobjects.pp @@ -848,6 +848,10 @@ begin FDC := nil; FWidget := nil; + + // allow font substitution for exotic glyphs + OSError(ATSUSetTransientFontMatching(FLayout, True), Self, SCreate, + 'ATSUSetTransientFontMatching'); end; {------------------------------------------------------------------------------