Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
4 changes: 2 additions & 2 deletions WTGlyphFontSet/WTGlyphFontSet.m
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ + (WTGlyphFontSet*) fontSet : (NSString*) fontname
- (id)initWithFontName:(NSString *)aName ofType:(NSString *)aType {
self = [super init];
if (self) {
NSString *fontPath = [[NSBundle mainBundle] pathForResource:aName ofType:aType];
NSString *plistPath = [[NSBundle mainBundle] pathForResource:aName ofType:@"plist"];
NSString *fontPath = [[NSBundle bundleForClass:self.class] pathForResource:aName ofType:aType];
NSString *plistPath = [[NSBundle bundleForClass:self.class] pathForResource:aName ofType:@"plist"];

//NSURL * url = [[NSBundle mainBundle] URLForResource:aName withExtension:aType];
//CGDataProviderRef fontProvider = CGDataProviderCreateWithURL((__bridge CFURLRef)url);
Expand Down
7 changes: 7 additions & 0 deletions WTGlyphFontSetDemo.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,11 @@
CLASSPREFIX = WT;
LastUpgradeCheck = 0450;
ORGANIZATIONNAME = "First Water Tech Ltd";
TargetAttributes = {
495AC8A51666461B007164DA = {
DevelopmentTeam = EFSFV3Q6SU;
};
};
};
buildConfigurationList = 495AC8A01666461B007164DA /* Build configuration list for PBXProject "WTGlyphFontSetDemo" */;
compatibilityVersion = "Xcode 3.2";
Expand Down Expand Up @@ -519,6 +524,7 @@
495AC8CB1666461B007164DA /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
DEVELOPMENT_TEAM = EFSFV3Q6SU;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "WTGlyphFontSetDemo/WTGlyphFontSetDemo-Prefix.pch";
INFOPLIST_FILE = "WTGlyphFontSetDemo/WTGlyphFontSetDemo-Info.plist";
Expand All @@ -532,6 +538,7 @@
495AC8CC1666461B007164DA /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
DEVELOPMENT_TEAM = EFSFV3Q6SU;
GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = "WTGlyphFontSetDemo/WTGlyphFontSetDemo-Prefix.pch";
INFOPLIST_FILE = "WTGlyphFontSetDemo/WTGlyphFontSetDemo-Info.plist";
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0710"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "495AC8A51666461B007164DA"
BuildableName = "WTGlyphFontSetDemo.app"
BlueprintName = "WTGlyphFontSetDemo"
ReferencedContainer = "container:WTGlyphFontSetDemo.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "495AC8A51666461B007164DA"
BuildableName = "WTGlyphFontSetDemo.app"
BlueprintName = "WTGlyphFontSetDemo"
ReferencedContainer = "container:WTGlyphFontSetDemo.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "495AC8A51666461B007164DA"
BuildableName = "WTGlyphFontSetDemo.app"
BlueprintName = "WTGlyphFontSetDemo"
ReferencedContainer = "container:WTGlyphFontSetDemo.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<BuildableProductRunnable
runnableDebuggingMode = "0">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "495AC8A51666461B007164DA"
BuildableName = "WTGlyphFontSetDemo.app"
BlueprintName = "WTGlyphFontSetDemo"
ReferencedContainer = "container:WTGlyphFontSetDemo.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>SchemeUserState</key>
<dict>
<key>WTGlyphFontSetDemo.xcscheme</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
</dict>
</dict>
<key>SuppressBuildableAutocreation</key>
<dict>
<key>495AC8A51666461B007164DA</key>
<dict>
<key>primary</key>
<true/>
</dict>
</dict>
</dict>
</plist>