- KGFont renamed KGFontState in preparation for KGFont/KGFontState cleanup

- NSDistributedNotificationCenter skeleton added
This commit is contained in:
Christopher Lloyd 2008-12-02 15:08:25 +00:00
parent bd7bac37fa
commit ac142a7470
21 changed files with 123 additions and 69 deletions

View File

@ -323,7 +323,7 @@
C889754D0EA0BF3100D0A0A2 /* NSTextList.h in Headers */ = {isa = PBXBuildFile; fileRef = FE7247670C06202B007CBC51 /* NSTextList.h */; settings = {ATTRIBUTES = (Public, ); }; };
C889754E0EA0BF3100D0A0A2 /* NSTextAttachmentCell.h in Headers */ = {isa = PBXBuildFile; fileRef = FE7247A40C0622F2007CBC51 /* NSTextAttachmentCell.h */; settings = {ATTRIBUTES = (Public, ); }; };
C889754F0EA0BF3100D0A0A2 /* NSTypesetter_concrete.h in Headers */ = {isa = PBXBuildFile; fileRef = FE72484F0C0676AA007CBC51 /* NSTypesetter_concrete.h */; };
C88975500EA0BF3100D0A0A2 /* KGFont.h in Headers */ = {isa = PBXBuildFile; fileRef = FE89AF470C33679100CD21FB /* KGFont.h */; settings = {ATTRIBUTES = (Private, ); }; };
C88975500EA0BF3100D0A0A2 /* KGFontState.h in Headers */ = {isa = PBXBuildFile; fileRef = FE89AF470C33679100CD21FB /* KGFontState.h */; settings = {ATTRIBUTES = (Private, ); }; };
C88975510EA0BF3100D0A0A2 /* KGDeviceContext_gdi.h in Headers */ = {isa = PBXBuildFile; fileRef = FE57F8D00C46B68C0078FFC1 /* KGDeviceContext_gdi.h */; settings = {ATTRIBUTES = (Private, ); }; };
C88975520EA0BF3100D0A0A2 /* NSPrintPanel.h in Headers */ = {isa = PBXBuildFile; fileRef = FE57FAB50C47F2010078FFC1 /* NSPrintPanel.h */; settings = {ATTRIBUTES = (Public, ); }; };
C88975530EA0BF3100D0A0A2 /* NSOpenGLDrawable_gdiView.h in Headers */ = {isa = PBXBuildFile; fileRef = FEF2EC330C891E7C001FC5A8 /* NSOpenGLDrawable_gdiView.h */; settings = {ATTRIBUTES = (Private, ); }; };
@ -357,7 +357,7 @@
C889756F0EA0BF3100D0A0A2 /* NSColor_CGColor.h in Headers */ = {isa = PBXBuildFile; fileRef = FE08C3210DDF299800B3169A /* NSColor_CGColor.h */; settings = {ATTRIBUTES = (Private, ); }; };
C88975700EA0BF3100D0A0A2 /* KGSurface_DIBSection.h in Headers */ = {isa = PBXBuildFile; fileRef = FEF9CAE70E133FF2003502ED /* KGSurface_DIBSection.h */; };
C88975710EA0BF3100D0A0A2 /* KGColorSpace+PDF.h in Headers */ = {isa = PBXBuildFile; fileRef = FEF9CB780E13EB8E003502ED /* KGColorSpace+PDF.h */; };
C88975720EA0BF3100D0A0A2 /* KGFont+PDF.h in Headers */ = {isa = PBXBuildFile; fileRef = FEF9CB970E13EB8E003502ED /* KGFont+PDF.h */; };
C88975720EA0BF3100D0A0A2 /* KGFontState+PDF.h in Headers */ = {isa = PBXBuildFile; fileRef = FEF9CB970E13EB8E003502ED /* KGFontState+PDF.h */; };
C88975730EA0BF3100D0A0A2 /* KGFunction+PDF.h in Headers */ = {isa = PBXBuildFile; fileRef = FEF9CB990E13EB8E003502ED /* KGFunction+PDF.h */; };
C88975740EA0BF3100D0A0A2 /* KGImage+PDF.h in Headers */ = {isa = PBXBuildFile; fileRef = FEF9CB9B0E13EB8E003502ED /* KGImage+PDF.h */; };
C88975750EA0BF3100D0A0A2 /* KGShading+PDF.h in Headers */ = {isa = PBXBuildFile; fileRef = FEF9CB9D0E13EB8E003502ED /* KGShading+PDF.h */; };
@ -642,7 +642,7 @@
C88976B00EA0BF3100D0A0A2 /* NSTextList.m in Sources */ = {isa = PBXBuildFile; fileRef = FE7247680C06202B007CBC51 /* NSTextList.m */; };
C88976B10EA0BF3100D0A0A2 /* NSTextAttachmentCell.m in Sources */ = {isa = PBXBuildFile; fileRef = FE7247A50C0622F2007CBC51 /* NSTextAttachmentCell.m */; };
C88976B20EA0BF3100D0A0A2 /* NSTypesetter_concrete.m in Sources */ = {isa = PBXBuildFile; fileRef = FE7248500C0676AA007CBC51 /* NSTypesetter_concrete.m */; };
C88976B30EA0BF3100D0A0A2 /* KGFont.m in Sources */ = {isa = PBXBuildFile; fileRef = FE89AF480C33679100CD21FB /* KGFont.m */; };
C88976B30EA0BF3100D0A0A2 /* KGFontState.m in Sources */ = {isa = PBXBuildFile; fileRef = FE89AF480C33679100CD21FB /* KGFontState.m */; };
C88976B50EA0BF3100D0A0A2 /* NSPrintPanel.m in Sources */ = {isa = PBXBuildFile; fileRef = FE57FAB60C47F2010078FFC1 /* NSPrintPanel.m */; };
C88976B80EA0BF3100D0A0A2 /* KGzlib.m in Sources */ = {isa = PBXBuildFile; fileRef = FE8F9F270C9C5D0000270AEE /* KGzlib.m */; };
C88976B90EA0BF3100D0A0A2 /* KGImageSource_BMP.m in Sources */ = {isa = PBXBuildFile; fileRef = FE572D8C0CA0809500FB3E79 /* KGImageSource_BMP.m */; };
@ -665,7 +665,7 @@
C88976CF0EA0BF3100D0A0A2 /* KGPaint_ramp.m in Sources */ = {isa = PBXBuildFile; fileRef = FEBF5A0C0DCD450700CE5A1C /* KGPaint_ramp.m */; };
C88976D00EA0BF3100D0A0A2 /* NSColor_CGColor.m in Sources */ = {isa = PBXBuildFile; fileRef = FE08C3220DDF299800B3169A /* NSColor_CGColor.m */; };
C88976D20EA0BF3100D0A0A2 /* KGColorSpace+PDF.m in Sources */ = {isa = PBXBuildFile; fileRef = FEF9CB790E13EB8E003502ED /* KGColorSpace+PDF.m */; };
C88976D30EA0BF3100D0A0A2 /* KGFont+PDF.m in Sources */ = {isa = PBXBuildFile; fileRef = FEF9CB980E13EB8E003502ED /* KGFont+PDF.m */; };
C88976D30EA0BF3100D0A0A2 /* KGFontState+PDF.m in Sources */ = {isa = PBXBuildFile; fileRef = FEF9CB980E13EB8E003502ED /* KGFontState+PDF.m */; };
C88976D40EA0BF3100D0A0A2 /* KGFunction+PDF.m in Sources */ = {isa = PBXBuildFile; fileRef = FEF9CB9A0E13EB8E003502ED /* KGFunction+PDF.m */; };
C88976D50EA0BF3100D0A0A2 /* KGImage+PDF.m in Sources */ = {isa = PBXBuildFile; fileRef = FEF9CB9C0E13EB8E003502ED /* KGImage+PDF.m */; };
C88976D60EA0BF3100D0A0A2 /* KGShading+PDF.m in Sources */ = {isa = PBXBuildFile; fileRef = FEF9CB9E0E13EB8E003502ED /* KGShading+PDF.m */; };
@ -1016,7 +1016,7 @@
FE01A94C0C5D9BCB00AEA51A /* NSTextList.h in Headers */ = {isa = PBXBuildFile; fileRef = FE7247670C06202B007CBC51 /* NSTextList.h */; settings = {ATTRIBUTES = (Public, ); }; };
FE01A94D0C5D9BCB00AEA51A /* NSTextAttachmentCell.h in Headers */ = {isa = PBXBuildFile; fileRef = FE7247A40C0622F2007CBC51 /* NSTextAttachmentCell.h */; settings = {ATTRIBUTES = (Public, ); }; };
FE01A94E0C5D9BCB00AEA51A /* NSTypesetter_concrete.h in Headers */ = {isa = PBXBuildFile; fileRef = FE72484F0C0676AA007CBC51 /* NSTypesetter_concrete.h */; };
FE01A94F0C5D9BCB00AEA51A /* KGFont.h in Headers */ = {isa = PBXBuildFile; fileRef = FE89AF470C33679100CD21FB /* KGFont.h */; settings = {ATTRIBUTES = (Private, ); }; };
FE01A94F0C5D9BCB00AEA51A /* KGFontState.h in Headers */ = {isa = PBXBuildFile; fileRef = FE89AF470C33679100CD21FB /* KGFontState.h */; settings = {ATTRIBUTES = (Private, ); }; };
FE01A9510C5D9BCB00AEA51A /* KGDeviceContext_gdi.h in Headers */ = {isa = PBXBuildFile; fileRef = FE57F8D00C46B68C0078FFC1 /* KGDeviceContext_gdi.h */; settings = {ATTRIBUTES = (Private, ); }; };
FE01A9520C5D9BCB00AEA51A /* NSPrintPanel.h in Headers */ = {isa = PBXBuildFile; fileRef = FE57FAB50C47F2010078FFC1 /* NSPrintPanel.h */; settings = {ATTRIBUTES = (Public, ); }; };
FE01A9540C5D9BCB00AEA51A /* NSActionCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 6E2B53250976075200DA0954 /* NSActionCell.m */; settings = {ATTRIBUTES = (); }; };
@ -1328,7 +1328,7 @@
FE01AA8D0C5D9BCB00AEA51A /* NSTextList.m in Sources */ = {isa = PBXBuildFile; fileRef = FE7247680C06202B007CBC51 /* NSTextList.m */; };
FE01AA8E0C5D9BCB00AEA51A /* NSTextAttachmentCell.m in Sources */ = {isa = PBXBuildFile; fileRef = FE7247A50C0622F2007CBC51 /* NSTextAttachmentCell.m */; };
FE01AA8F0C5D9BCB00AEA51A /* NSTypesetter_concrete.m in Sources */ = {isa = PBXBuildFile; fileRef = FE7248500C0676AA007CBC51 /* NSTypesetter_concrete.m */; };
FE01AA900C5D9BCB00AEA51A /* KGFont.m in Sources */ = {isa = PBXBuildFile; fileRef = FE89AF480C33679100CD21FB /* KGFont.m */; };
FE01AA900C5D9BCB00AEA51A /* KGFontState.m in Sources */ = {isa = PBXBuildFile; fileRef = FE89AF480C33679100CD21FB /* KGFontState.m */; };
FE01AA920C5D9BCB00AEA51A /* KGDeviceContext_gdi.m in Sources */ = {isa = PBXBuildFile; fileRef = FE57F8D10C46B68C0078FFC1 /* KGDeviceContext_gdi.m */; };
FE01AA930C5D9BCB00AEA51A /* NSPrintPanel.m in Sources */ = {isa = PBXBuildFile; fileRef = FE57FAB60C47F2010078FFC1 /* NSPrintPanel.m */; };
FE01AA950C5D9BCB00AEA51A /* NSFontPanel.nib in Resources */ = {isa = PBXBuildFile; fileRef = 6E2B54DF0976075300DA0954 /* NSFontPanel.nib */; };
@ -1436,8 +1436,8 @@
FEF9CAEA0E133FF2003502ED /* KGSurface_DIBSection.m in Sources */ = {isa = PBXBuildFile; fileRef = FEF9CAE80E133FF2003502ED /* KGSurface_DIBSection.m */; };
FEF9CB9F0E13EB8E003502ED /* KGColorSpace+PDF.h in Headers */ = {isa = PBXBuildFile; fileRef = FEF9CB780E13EB8E003502ED /* KGColorSpace+PDF.h */; };
FEF9CBA00E13EB8E003502ED /* KGColorSpace+PDF.m in Sources */ = {isa = PBXBuildFile; fileRef = FEF9CB790E13EB8E003502ED /* KGColorSpace+PDF.m */; };
FEF9CBBE0E13EB8E003502ED /* KGFont+PDF.h in Headers */ = {isa = PBXBuildFile; fileRef = FEF9CB970E13EB8E003502ED /* KGFont+PDF.h */; };
FEF9CBBF0E13EB8E003502ED /* KGFont+PDF.m in Sources */ = {isa = PBXBuildFile; fileRef = FEF9CB980E13EB8E003502ED /* KGFont+PDF.m */; };
FEF9CBBE0E13EB8E003502ED /* KGFontState+PDF.h in Headers */ = {isa = PBXBuildFile; fileRef = FEF9CB970E13EB8E003502ED /* KGFontState+PDF.h */; };
FEF9CBBF0E13EB8E003502ED /* KGFontState+PDF.m in Sources */ = {isa = PBXBuildFile; fileRef = FEF9CB980E13EB8E003502ED /* KGFontState+PDF.m */; };
FEF9CBC00E13EB8E003502ED /* KGFunction+PDF.h in Headers */ = {isa = PBXBuildFile; fileRef = FEF9CB990E13EB8E003502ED /* KGFunction+PDF.h */; };
FEF9CBC10E13EB8E003502ED /* KGFunction+PDF.m in Sources */ = {isa = PBXBuildFile; fileRef = FEF9CB9A0E13EB8E003502ED /* KGFunction+PDF.m */; };
FEF9CBC20E13EB8E003502ED /* KGImage+PDF.h in Headers */ = {isa = PBXBuildFile; fileRef = FEF9CB9B0E13EB8E003502ED /* KGImage+PDF.h */; };
@ -2230,8 +2230,8 @@
FE86887C0BC3FFA4009F515C /* NSButtonCell_disclosure_highlighted.tif */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = NSButtonCell_disclosure_highlighted.tif; sourceTree = "<group>"; };
FE86887D0BC3FFA4009F515C /* NSButtonCell_disclosure_normal.tif */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = NSButtonCell_disclosure_normal.tif; sourceTree = "<group>"; };
FE86887E0BC3FFA4009F515C /* NSButtonCell_disclosure_selected.tif */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = NSButtonCell_disclosure_selected.tif; sourceTree = "<group>"; };
FE89AF470C33679100CD21FB /* KGFont.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = KGFont.h; sourceTree = "<group>"; };
FE89AF480C33679100CD21FB /* KGFont.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = KGFont.m; sourceTree = "<group>"; };
FE89AF470C33679100CD21FB /* KGFontState.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = KGFontState.h; sourceTree = "<group>"; };
FE89AF480C33679100CD21FB /* KGFontState.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = KGFontState.m; sourceTree = "<group>"; };
FE8BAEC50BC9EA8D0007FACA /* NSNibBindingConnector.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = NSNibBindingConnector.h; sourceTree = "<group>"; };
FE8BAEC60BC9EA8D0007FACA /* NSNibBindingConnector.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; path = NSNibBindingConnector.m; sourceTree = "<group>"; };
FE8BAF1D0BC9EC680007FACA /* NSBinder.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = NSBinder.h; sourceTree = "<group>"; };
@ -2293,8 +2293,8 @@
FEF9CAE80E133FF2003502ED /* KGSurface_DIBSection.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = KGSurface_DIBSection.m; sourceTree = "<group>"; };
FEF9CB780E13EB8E003502ED /* KGColorSpace+PDF.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "KGColorSpace+PDF.h"; sourceTree = "<group>"; };
FEF9CB790E13EB8E003502ED /* KGColorSpace+PDF.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "KGColorSpace+PDF.m"; sourceTree = "<group>"; };
FEF9CB970E13EB8E003502ED /* KGFont+PDF.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "KGFont+PDF.h"; sourceTree = "<group>"; };
FEF9CB980E13EB8E003502ED /* KGFont+PDF.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "KGFont+PDF.m"; sourceTree = "<group>"; };
FEF9CB970E13EB8E003502ED /* KGFontState+PDF.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "KGFontState+PDF.h"; sourceTree = "<group>"; };
FEF9CB980E13EB8E003502ED /* KGFontState+PDF.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "KGFontState+PDF.m"; sourceTree = "<group>"; };
FEF9CB990E13EB8E003502ED /* KGFunction+PDF.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "KGFunction+PDF.h"; sourceTree = "<group>"; };
FEF9CB9A0E13EB8E003502ED /* KGFunction+PDF.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "KGFunction+PDF.m"; sourceTree = "<group>"; };
FEF9CB9B0E13EB8E003502ED /* KGImage+PDF.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "KGImage+PDF.h"; sourceTree = "<group>"; };
@ -2808,8 +2808,8 @@
children = (
FEF9CB780E13EB8E003502ED /* KGColorSpace+PDF.h */,
FEF9CB790E13EB8E003502ED /* KGColorSpace+PDF.m */,
FEF9CB970E13EB8E003502ED /* KGFont+PDF.h */,
FEF9CB980E13EB8E003502ED /* KGFont+PDF.m */,
FEF9CB970E13EB8E003502ED /* KGFontState+PDF.h */,
FEF9CB980E13EB8E003502ED /* KGFontState+PDF.m */,
FEF9CB990E13EB8E003502ED /* KGFunction+PDF.h */,
FEF9CB9A0E13EB8E003502ED /* KGFunction+PDF.m */,
FEF9CB9B0E13EB8E003502ED /* KGImage+PDF.h */,
@ -2873,8 +2873,8 @@
FE64B8AA0B81239D007EE513 /* KGContext.m */,
FE64B8AB0B81239D007EE513 /* KGDataProvider.h */,
FE64B8AC0B81239D007EE513 /* KGDataProvider.m */,
FE89AF470C33679100CD21FB /* KGFont.h */,
FE89AF480C33679100CD21FB /* KGFont.m */,
FE89AF470C33679100CD21FB /* KGFontState.h */,
FE89AF480C33679100CD21FB /* KGFontState.m */,
FE64B8AD0B81239D007EE513 /* KGFunction.h */,
FE64B8AE0B81239D007EE513 /* KGFunction.m */,
6E2B55D10976075300DA0954 /* KGGraphicsState.h */,
@ -3698,7 +3698,7 @@
C889754D0EA0BF3100D0A0A2 /* NSTextList.h in Headers */,
C889754E0EA0BF3100D0A0A2 /* NSTextAttachmentCell.h in Headers */,
C889754F0EA0BF3100D0A0A2 /* NSTypesetter_concrete.h in Headers */,
C88975500EA0BF3100D0A0A2 /* KGFont.h in Headers */,
C88975500EA0BF3100D0A0A2 /* KGFontState.h in Headers */,
C88975510EA0BF3100D0A0A2 /* KGDeviceContext_gdi.h in Headers */,
C88975520EA0BF3100D0A0A2 /* NSPrintPanel.h in Headers */,
C88975530EA0BF3100D0A0A2 /* NSOpenGLDrawable_gdiView.h in Headers */,
@ -3732,7 +3732,7 @@
C889756F0EA0BF3100D0A0A2 /* NSColor_CGColor.h in Headers */,
C88975700EA0BF3100D0A0A2 /* KGSurface_DIBSection.h in Headers */,
C88975710EA0BF3100D0A0A2 /* KGColorSpace+PDF.h in Headers */,
C88975720EA0BF3100D0A0A2 /* KGFont+PDF.h in Headers */,
C88975720EA0BF3100D0A0A2 /* KGFontState+PDF.h in Headers */,
C88975730EA0BF3100D0A0A2 /* KGFunction+PDF.h in Headers */,
C88975740EA0BF3100D0A0A2 /* KGImage+PDF.h in Headers */,
C88975750EA0BF3100D0A0A2 /* KGShading+PDF.h in Headers */,
@ -4055,7 +4055,7 @@
FE01A94C0C5D9BCB00AEA51A /* NSTextList.h in Headers */,
FE01A94D0C5D9BCB00AEA51A /* NSTextAttachmentCell.h in Headers */,
FE01A94E0C5D9BCB00AEA51A /* NSTypesetter_concrete.h in Headers */,
FE01A94F0C5D9BCB00AEA51A /* KGFont.h in Headers */,
FE01A94F0C5D9BCB00AEA51A /* KGFontState.h in Headers */,
FE01A9510C5D9BCB00AEA51A /* KGDeviceContext_gdi.h in Headers */,
FE01A9520C5D9BCB00AEA51A /* NSPrintPanel.h in Headers */,
FEF2EC350C891E7C001FC5A8 /* NSOpenGLDrawable_gdiView.h in Headers */,
@ -4089,7 +4089,7 @@
FE08C3230DDF299800B3169A /* NSColor_CGColor.h in Headers */,
FEF9CAE90E133FF2003502ED /* KGSurface_DIBSection.h in Headers */,
FEF9CB9F0E13EB8E003502ED /* KGColorSpace+PDF.h in Headers */,
FEF9CBBE0E13EB8E003502ED /* KGFont+PDF.h in Headers */,
FEF9CBBE0E13EB8E003502ED /* KGFontState+PDF.h in Headers */,
FEF9CBC00E13EB8E003502ED /* KGFunction+PDF.h in Headers */,
FEF9CBC20E13EB8E003502ED /* KGImage+PDF.h in Headers */,
FEF9CBC40E13EB8E003502ED /* KGShading+PDF.h in Headers */,
@ -4628,7 +4628,7 @@
C88976B00EA0BF3100D0A0A2 /* NSTextList.m in Sources */,
C88976B10EA0BF3100D0A0A2 /* NSTextAttachmentCell.m in Sources */,
C88976B20EA0BF3100D0A0A2 /* NSTypesetter_concrete.m in Sources */,
C88976B30EA0BF3100D0A0A2 /* KGFont.m in Sources */,
C88976B30EA0BF3100D0A0A2 /* KGFontState.m in Sources */,
C88976B50EA0BF3100D0A0A2 /* NSPrintPanel.m in Sources */,
C88976B80EA0BF3100D0A0A2 /* KGzlib.m in Sources */,
C88976B90EA0BF3100D0A0A2 /* KGImageSource_BMP.m in Sources */,
@ -4651,7 +4651,7 @@
C88976CF0EA0BF3100D0A0A2 /* KGPaint_ramp.m in Sources */,
C88976D00EA0BF3100D0A0A2 /* NSColor_CGColor.m in Sources */,
C88976D20EA0BF3100D0A0A2 /* KGColorSpace+PDF.m in Sources */,
C88976D30EA0BF3100D0A0A2 /* KGFont+PDF.m in Sources */,
C88976D30EA0BF3100D0A0A2 /* KGFontState+PDF.m in Sources */,
C88976D40EA0BF3100D0A0A2 /* KGFunction+PDF.m in Sources */,
C88976D50EA0BF3100D0A0A2 /* KGImage+PDF.m in Sources */,
C88976D60EA0BF3100D0A0A2 /* KGShading+PDF.m in Sources */,
@ -4981,7 +4981,7 @@
FE01AA8D0C5D9BCB00AEA51A /* NSTextList.m in Sources */,
FE01AA8E0C5D9BCB00AEA51A /* NSTextAttachmentCell.m in Sources */,
FE01AA8F0C5D9BCB00AEA51A /* NSTypesetter_concrete.m in Sources */,
FE01AA900C5D9BCB00AEA51A /* KGFont.m in Sources */,
FE01AA900C5D9BCB00AEA51A /* KGFontState.m in Sources */,
FE01AA920C5D9BCB00AEA51A /* KGDeviceContext_gdi.m in Sources */,
FE01AA930C5D9BCB00AEA51A /* NSPrintPanel.m in Sources */,
FEF2EC7B0C8A03CC001FC5A8 /* NSOpenGLDrawable_gdiView.m in Sources */,
@ -5012,7 +5012,7 @@
FE08C3240DDF299800B3169A /* NSColor_CGColor.m in Sources */,
FEF9CAEA0E133FF2003502ED /* KGSurface_DIBSection.m in Sources */,
FEF9CBA00E13EB8E003502ED /* KGColorSpace+PDF.m in Sources */,
FEF9CBBF0E13EB8E003502ED /* KGFont+PDF.m in Sources */,
FEF9CBBF0E13EB8E003502ED /* KGFontState+PDF.m in Sources */,
FEF9CBC10E13EB8E003502ED /* KGFunction+PDF.m in Sources */,
FEF9CBC30E13EB8E003502ED /* KGImage+PDF.m in Sources */,
FEF9CBC50E13EB8E003502ED /* KGShading+PDF.m in Sources */,

View File

@ -9,7 +9,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
#import <Foundation/NSObject.h>
#import <ApplicationServices/ApplicationServices.h>
@class KGColor,KGColorSpace,KGShading,KGImage,KGGraphicsState,KGMutablePath,KGPath,KGPattern,KGLayer,KGPDFPage,NSMutableArray,CGWindow,KGFont,KGSurface,NSDictionary,NSData;
@class KGColor,KGColorSpace,KGShading,KGImage,KGGraphicsState,KGMutablePath,KGPath,KGPattern,KGLayer,KGPDFPage,NSMutableArray,CGWindow,KGFontState,KGSurface,NSDictionary,NSData;
@interface KGContext : NSObject {
CGAffineTransform _userToDeviceTransform;
@ -131,8 +131,8 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
-(void)setTextPosition:(float)x:(float)y;
-(void)setCharacterSpacing:(float)spacing;
-(void)setTextDrawingMode:(int)textMode;
-(KGFont *)currentFont;
-(void)setFont:(KGFont *)font;
-(KGFontState *)currentFont;
-(void)setFont:(KGFontState *)font;
-(void)setFontSize:(float)size;
-(void)selectFontWithName:(const char *)name size:(float)size encoding:(int)encoding;
-(void)setShouldSmoothFonts:(BOOL)yesOrNo;

View File

@ -11,7 +11,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
#import "KGGraphicsState.h"
#import "KGColor.h"
#import "KGColorSpace.h"
#import "KGFont.h"
#import "KGFontState.h"
#import "KGMutablePath.h"
#import "KGLayer.h"
#import "KGPDFPage.h"
@ -296,7 +296,7 @@ static inline KGGraphicsState *currentState(KGContext *self){
-(void)restoreGState {
[_stateStack removeLastObject];
KGFont *font=[[self currentState] font];
KGFontState *font=[[self currentState] font];
[self deviceSelectFontWithName:[font name] pointSize:[font pointSize]];
NSArray *phases=[[self currentState] clipPhases];
@ -629,24 +629,24 @@ static inline KGGraphicsState *currentState(KGContext *self){
[currentState(self) setTextDrawingMode:textMode];
}
-(KGFont *)currentFont {
-(KGFontState *)currentFont {
return [currentState(self) font];
}
-(void)setFont:(KGFont *)font {
-(void)setFont:(KGFontState *)font {
[currentState(self) setFont:font];
[self deviceSelectFontWithName:[font name] pointSize:[font pointSize] ];
}
-(void)setFontSize:(float)size {
NSString *name=[[currentState(self) font] name];
KGFont *font=[[[KGFont alloc] initWithName:name size:size] autorelease];
KGFontState *font=[[[KGFontState alloc] initWithName:name size:size] autorelease];
[self setFont:font];
}
-(void)selectFontWithName:(const char *)name size:(float)size encoding:(int)encoding {
KGFont *font=[[[KGFont alloc] initWithName:[NSString stringWithCString:name] size:size] autorelease];
KGFontState *font=[[[KGFontState alloc] initWithName:[NSString stringWithCString:name] size:size] autorelease];
[self setFont:font];
}

View File

@ -1,7 +1,7 @@
#import "KGFont.h"
#import "KGFontState.h"
@class KGPDFObject,KGPDFContext;
@interface KGFont(PDF)
@interface KGFontState(PDF)
-(KGPDFObject *)encodeReferenceWithContext:(KGPDFContext *)context;
@end

View File

@ -1,10 +1,10 @@
#import "KGFont+PDF.h"
#import "KGFontState+PDF.h"
#import "KGPDFArray.h"
#import "KGPDFDictionary.h"
#import "KGPDFContext.h"
#import <Foundation/NSArray.h>
@implementation KGFont(PDF)
@implementation KGFontState(PDF)
-(KGPDFArray *)_pdfWidths {
KGPDFArray *result=[KGPDFArray pdfArray];

View File

@ -53,7 +53,7 @@ typedef struct CGGlyphMetricsSet {
CGGlyphMetrics *info;
} CGGlyphMetricsSet;
@interface KGFont : NSObject {
@interface KGFontState : NSObject {
NSString *_name;
float _size;
CGFontMetrics _metrics;

View File

@ -1,10 +1,10 @@
#import "KGFont.h"
#import "KGFontState.h"
#import "KGExceptions.h"
#import <Foundation/NSArray.h>
@implementation KGFont
@implementation KGFontState
static inline CGGlyph glyphForCharacter(KGFont *self,unichar character){
static inline CGGlyph glyphForCharacter(KGFontState *self,unichar character){
CGGlyphRangeTable *table=self->_glyphRangeTable;
unsigned range=character>>8;
unsigned index=character&0xFF;
@ -15,14 +15,14 @@ static inline CGGlyph glyphForCharacter(KGFont *self,unichar character){
return CGNullGlyph;
}
static inline unichar characterForGlyph(KGFont *self,CGGlyph glyph){
static inline unichar characterForGlyph(KGFontState *self,CGGlyph glyph){
if(glyph<self->_glyphRangeTable->numberOfGlyphs)
return self->_glyphRangeTable->characters[glyph];
return 0;
}
static inline CGGlyphMetrics *glyphInfoForGlyph(KGFont *self,CGGlyph glyph){
static inline CGGlyphMetrics *glyphInfoForGlyph(KGFontState *self,CGGlyph glyph){
if(glyph<self->_glyphInfoSet->numberOfGlyphs)
return self->_glyphInfoSet->info+glyph;
@ -40,12 +40,12 @@ static inline CGGlyphMetrics *glyphInfoForGlyph(KGFont *self,CGGlyph glyph){
}
static inline void fetchAllGlyphRangesIfNeeded(KGFont *self){
static inline void fetchAllGlyphRangesIfNeeded(KGFontState *self){
if(self->_glyphRangeTable==NULL)
[self fetchGlyphRanges];
}
static inline CGGlyphMetrics *fetchGlyphInfoIfNeeded(KGFont *self,CGGlyph glyph){
static inline CGGlyphMetrics *fetchGlyphInfoIfNeeded(KGFontState *self,CGGlyph glyph){
fetchAllGlyphRangesIfNeeded(self);
if(self->_glyphInfoSet->info==NULL)
[self fetchGlyphInfo];
@ -53,7 +53,7 @@ static inline CGGlyphMetrics *fetchGlyphInfoIfNeeded(KGFont *self,CGGlyph glyph)
return glyphInfoForGlyph(self,glyph);
}
static inline CGGlyphMetrics *fetchGlyphAdvancementIfNeeded(KGFont *self,CGGlyph glyph){
static inline CGGlyphMetrics *fetchGlyphAdvancementIfNeeded(KGFontState *self,CGGlyph glyph){
CGGlyphMetrics *info=fetchGlyphInfoIfNeeded(self,glyph);
if(info==NULL)

View File

@ -9,7 +9,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
#import <Foundation/NSObject.h>
#import <ApplicationServices/ApplicationServices.h>
@class KGImage,KGColorSpace,KGColor,KGPattern,KGMutablePath,KGPath,NSArray,NSMutableArray,KGFont;
@class KGImage,KGColorSpace,KGColor,KGPattern,KGMutablePath,KGPath,NSArray,NSMutableArray,KGFontState;
@interface KGGraphicsState : NSObject <NSCopying> {
@public
@ -20,7 +20,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
NSMutableArray *_clipPhases;
KGColor *_strokeColor;
KGColor *_fillColor;
KGFont *_font;
KGFontState *_font;
CGSize _patternPhase;
float _characterSpacing;
int _textDrawingMode;
@ -87,8 +87,8 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
-(void)setTextPosition:(float)x:(float)y;
-(void)setCharacterSpacing:(float)spacing;
-(void)setTextDrawingMode:(int)textMode;
-(KGFont *)font;
-(void)setFont:(KGFont *)font;
-(KGFontState *)font;
-(void)setFont:(KGFontState *)font;
-(void)setShouldSmoothFonts:(BOOL)yesOrNo;
-(void)setLineWidth:(float)width;

View File

@ -12,7 +12,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
#import "KGColor.h"
#import "KGColorSpace.h"
#import "KGMutablePath.h"
#import "KGFont.h"
#import "KGFontState.h"
#import "KGClipPhase.h"
#import <Foundation/NSArray.h>
#import "KGExceptions.h"
@ -217,11 +217,11 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
_textDrawingMode=textMode;
}
-(KGFont *)font {
-(KGFontState *)font {
return _font;
}
-(void)setFont:(KGFont *)font {
-(void)setFont:(KGFontState *)font {
font=[font retain];
[_font release];
_font=font;

View File

@ -19,7 +19,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
#import "KGPDFString.h"
#import "KGShading+PDF.h"
#import "KGImage+PDF.h"
#import "KGFont+PDF.h"
#import "KGFontState+PDF.h"
#import "KGMutablePath.h"
#import "KGColor.h"
#import "KGColorSpace+PDF.h"
@ -632,7 +632,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
[self contentWithString:@"BT "];
KGFont *font=[self currentFont];
KGFontState *font=[self currentFont];
KGPDFObject *pdfObject=[font encodeReferenceWithContext:self];
KGPDFObject *name=[self nameForResource:pdfObject inCategory:"Font"];

View File

@ -8,7 +8,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
#import <Foundation/Foundation.h>
#import <AppKit/NSFont.h>
#import <AppKit/KGFont.h>
#import <AppKit/KGFontState.h>
@class NSEvent,NSColor, NSPasteboard,NSDraggingManager,NSPrintInfo, KGContext, NSView, NSSavePanel, NSOpenPanel, CGWindow;

View File

@ -10,7 +10,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
#import <ApplicationServices/ApplicationServices.h>
#import <AppKit/NSCell.h>
@class NSFontDescriptor,KGFont;
@class NSFontDescriptor,KGFontState;
typedef unsigned NSGlyph;
@ -36,7 +36,7 @@ typedef enum {
float _matrix[6];
NSStringEncoding _encoding;
KGFont *_kgFont;
KGFontState *_kgFont;
}
+(float)systemFontSize;

View File

@ -216,7 +216,7 @@ static NSFont **_fontCache=NULL;
[isa addFontToCache:self];
_kgFont=[[KGFont alloc] initWithName:_name size:_pointSize];
_kgFont=[[KGFontState alloc] initWithName:_name size:_pointSize];
return self;
}

View File

@ -9,7 +9,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
#import <AppKit/KGGraphicsState.h>
#import "KGSurface_DIBSection.h"
#import "KGDeviceContext_gdi.h"
#import <AppKit/KGFont.h>
#import <AppKit/KGFontState.h>
#import "../CoreGraphics.subproj/KGColorSpace.h"
#import "../CoreGraphics.subproj/KGColor.h"
#import <AppKit/Win32Font.h>

View File

@ -19,7 +19,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
#import <AppKit/KGColorSpace.h>
#import <AppKit/KGShading.h>
#import <AppKit/KGFunction.h>
#import <AppKit/KGFont.h>
#import <AppKit/KGFontState.h>
#import "../CoreGraphics.subproj/KGImage.h"
#import <AppKit/KGClipPhase.h>
#import <AppKit/Win32Font.h>

View File

@ -1,6 +1,6 @@
#import <AppKit/KGFont.h>
#import <AppKit/KGFontState.h>
@interface KGFont_gdi : KGFont {
@interface KGFont_gdi : KGFontState {
BOOL _useMacMetrics;
}

View File

@ -3,10 +3,10 @@
#import "Win32Display.h"
#import "Win32Font.h"
@interface KGFont(KGFont_gdi)
@interface KGFontState(KGFont_gdi)
@end
@implementation KGFont(KGFont_gdi)
@implementation KGFontState(KGFont_gdi)
+allocWithZone:(NSZone *)zone {
return NSAllocateObject([KGFont_gdi class],0,NULL);

View File

@ -6,7 +6,7 @@
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#import <AppKit/KGFont.h>
#import <AppKit/KGFontState.h>
#import <ft2build.h>
typedef size_t ptrdiff_t;

View File

@ -8,7 +8,7 @@
#import "TTFFont.h"
@implementation KGFont(TTFFont)
@implementation KGFontState(TTFFont)
+(id)allocWithZone:(NSZone*)zone
{
return NSAllocateObject([TTFFont class], 0, NULL);

View File

@ -8,9 +8,9 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
#import <Foundation/Foundation.h>
@class KGFont;
@class KGFontState;
typedef KGFont *CGFontRef;
typedef KGFontState *CGFontRef;
#ifndef WIN32
typedef uint32_t CGGlyph;

View File

@ -5,3 +5,57 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#import <Foundation/NSDistributedNotificationCenter.h>
#import <Foundation/NSRaise.h>
NSString *NSLocalNotificationCenterType=@"NSLocalNotificationCenterType";
@implementation NSDistributedNotificationCenter
+(NSDistributedNotificationCenter *)defaultCenter {
return [self notificationCenterForType:NSLocalNotificationCenterType];
}
+(NSDistributedNotificationCenter *)notificationCenterForType:(NSString *)type {
NSUnimplementedMethod();
return nil;
}
-(BOOL)suspended {
NSUnimplementedMethod();
return NO;
}
-(void)setSuspended:(BOOL)value {
NSUnimplementedMethod();
}
-(void)addObserver:observer selector:(SEL)selector name:(NSString *)name object:(NSString *)object {
NSUnimplementedMethod();
}
-(void)addObserver:observer selector:(SEL)selector name:(NSString *)name object:(NSString *)object suspensionBehavior:(NSNotificationSuspensionBehavior)behavior {
NSUnimplementedMethod();
}
-(void)removeObserver:observer name:(NSString *)name object:(NSString *)object {
NSUnimplementedMethod();
}
-(void)postNotificationName:(NSString *)name object:(NSString *)object {
NSUnimplementedMethod();
}
-(void)postNotificationName:(NSString *)name object:(NSString *)object userInfo:(NSDictionary *)userInfo {
NSUnimplementedMethod();
}
-(void)postNotificationName:(NSString *)name object:(NSString *)object userInfo:(NSDictionary *)userInfo deliverImmediately:(BOOL)immediately {
NSUnimplementedMethod();
}
-(void)postNotificationName:(NSString *)name object:(NSString *)object userInfo:(NSDictionary *)userInfo options:(NSUInteger)options {
NSUnimplementedMethod();
}
@end