BBGamelib.CCLabelTTF.getFontName C# (CSharp) Method

getFontName() public method

public getFontName ( string fontName ) : string
fontName string
return string
		public string getFontName(string fontName)
		{
			return fontName;
//			// Custom .ttf file ?
//			if ([[fontName lowercaseString] hasSuffix:@".ttf"])
//			{
//				// This is a file, register font with font manager
//				NSString* fontFile = [[CCFileUtils sharedFileUtils] fullPathForFilename:fontName];
//				NSURL* fontURL = [NSURL fileURLWithPath:fontFile];
//				CTFontManagerRegisterFontsForURL((CFURLRef)fontURL, kCTFontManagerScopeProcess, NULL);
//				
//				return [[fontFile lastPathComponent] stringByDeletingPathExtension];
//			}
//			
//			return fontName;
		}