Quantcast
Channel: Saturngod
Viewing all articles
Browse latest Browse all 22

Create custom font for iOS 7

$
0
0

Now iOS 7 allow to add custom font. It’s good news who want to use extra font in iWork.

MDM

Here is a example of using Zawgyi-One font in iWork Pages.

zawgyi

You can create the .mobileconfig XML file like following

<?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>PayloadContent</key>
    <array>
        <dict>
            <key>Font</key>
            <data>
                Base 64 String
            </data>
            <key>PayloadIdentifier</key>
            <string>font identifider</string>
            <key>PayloadType</key>
            <string>com.apple.font</string>
            <key>PayloadUUID</key>
            <string>B0DF5525-7120-406F-AC71-5A5BA59ECD82</string>
            <key>PayloadVersion</key>
            <integer>1</integer>
        </dict>
    </array>
    <key>PayloadDisplayName</key>
    <string>Payload display name</string>
    <key>PayloadIdentifier</key>
    <string>Pay load Identifier</string>
    <key>PayloadOrganization</key>
    <string>Font Profile</string>
    <key>PayloadType</key>
    <string>Configuration</string>
    <key>PayloadUUID</key>
    <string>0A35FE6A-C980-442B-9BD3-F44C67CA0D19</string>
    <key>PayloadVersion</key>
    <integer>1</integer>
</dict>
</plist>

You can check example file at http://d.pr/f/x4at+ . You can convert ttf to base64 string at http://www.motobit.com/util/base64-decoder-encoder.asp.

After creating file , need to open .mobileconfig file from safari or send email yourself and open the attachment from mail.app in iOS.


Viewing all articles
Browse latest Browse all 22

Trending Articles