/** @since Available in iOS 4.0 and later. */
 public Map<String, String> getFontTable() {
   if (has(Keys.FontTable())) {
     CFDictionary val = get(Keys.FontTable(), CFDictionary.class);
     return val.asStringStringMap();
   }
   return null;
 }
Example #2
0
 @Override
 public void putAll(CFDictionary dict) {
   dict.applyFunction(new FunctionPtr(cbPutAll), getHandle());
 }
 /** @since Available in iOS 4.0 and later. */
 public CMTextFormatDescriptionExtension setFontTable(Map<String, String> fontTable) {
   set(Keys.FontTable(), CFDictionary.fromStringStringMap(fontTable));
   return this;
 }