title: CTFontCopyName Returns null for the kCTFontSampleTextNameKey
body: <p>I am trying to get the Sample text of a font.This is my coding.   </p>
  
  <pre><code>    NSString *fontFilePath=@"/Volumes/Work/Mac/Fonts/FONT FOLDER/Times New Roman Bold.ttf";
      CFStringRef aCFString = (CFStringRef)fontFilePath;
      CTFontRef fontRef = CTFontCreateWithName(aCFString, 0.0,NULL);           
      CFStringRef sampleText=CTFontCopyName(fontRef,kCTFontSampleTextNameKey);
      NSLog(@"%@",sampleText);
  </code></pre>
  
  <p>It returns null as the result. But for the <code>kCTFontCopyrightNameKey</code>, <code>kCTFontLicenseURLNameKey</code> etc.... It returns the correct value. For only the <code>kCTFontSampleTextNameKey</code> it returns <code>null</code>. May I know how can I able to get the sampletext of the given font.</p>