summaryrefslogtreecommitdiff
path: root/vcl/coretext/ctfonts.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/coretext/ctfonts.cxx')
-rw-r--r--vcl/coretext/ctfonts.cxx9
1 files changed, 0 insertions, 9 deletions
diff --git a/vcl/coretext/ctfonts.cxx b/vcl/coretext/ctfonts.cxx
index ab738d9ae88e..8f89afa150b8 100644
--- a/vcl/coretext/ctfonts.cxx
+++ b/vcl/coretext/ctfonts.cxx
@@ -91,15 +91,6 @@ CTTextStyle::CTTextStyle( const FontSelectPattern& rFSD )
mpStyleDict = CFDictionaryCreateMutable( NULL, nMaxDictSize,
&kCFTypeDictionaryKeyCallBacks, &kCFTypeDictionaryValueCallBacks );
- // set some default styles: no kerning, regular ligatures
- static const CGFloat fValZero = 0.0;
- CFNumberRef pCFFloatNumZero = CFNumberCreate( NULL, kCFNumberFloatType, &fValZero );
- CFDictionarySetValue( mpStyleDict, kCTKernAttributeName, pCFFloatNumZero );
- CFRelease( pCFFloatNumZero);
- static const int nValOne = 1;
- CFNumberRef pCFIntNumOne = CFNumberCreate( NULL, kCFNumberIntType, &nValOne );
- CFDictionarySetValue( mpStyleDict, kCTLigatureAttributeName, pCFIntNumOne );
- CFRelease( pCFIntNumOne);
CFBooleanRef pCFVertBool = pReqFont->mbVertical ? kCFBooleanTrue : kCFBooleanFalse;
CFDictionarySetValue( mpStyleDict, kCTVerticalFormsAttributeName, pCFVertBool );