You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Shazron Abdullah (Created) (JIRA)" <ji...@apache.org> on 2011/11/28 21:47:40 UTC

[jira] [Created] (CB-43) Embedded fonts fail in iOS 5

Embedded fonts fail in iOS 5
----------------------------

                 Key: CB-43
                 URL: https://issues.apache.org/jira/browse/CB-43
             Project: Apache Callback
          Issue Type: Bug
          Components: iOS
            Reporter: Shazron Abdullah


reported at: https://github.com/phonegap/phonegap-iphone/issues/316
by: https://github.com/brennannovak

Previously in iOS 4.x the following method worked excellently for embedding fonts in my PhoneGap + iOS 4.x project

By adding the following entry to the MyApp-Info.plist

Fonts provided by application : MyFontName.ttf

The fonts were then easily callable via the CSS attribute "font-family"

Now recently upon upgrading to iOS 5 the fonts no longer work. Bummerz. Anyone have any ideas?

It must be either something to do with the way XCode assigns the font resources in iOS 5 or that PhoneGap.js is not finding these resources that are available?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CB-43) Embedded fonts fail in iOS 5

Posted by "Brennan Novak (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-43?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13199127#comment-13199127 ] 

Brennan Novak commented on CB-43:
---------------------------------

I am not "exactly" sure, but most likely can be ignored. As the problem was that I had been including a font which as of iOS 5 was natively bundled into iOS. I was able to do multiple methods of including the font for older versions of iOS and make it work with iOS by figuring out the right CSS attributes.
                
> Embedded fonts fail in iOS 5
> ----------------------------
>
>                 Key: CB-43
>                 URL: https://issues.apache.org/jira/browse/CB-43
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: iOS
>            Reporter: Shazron Abdullah
>
> reported at: https://github.com/phonegap/phonegap-iphone/issues/316
> by: https://github.com/brennannovak
> Previously in iOS 4.x the following method worked excellently for embedding fonts in my PhoneGap + iOS 4.x project
> By adding the following entry to the MyApp-Info.plist
> Fonts provided by application : MyFontName.ttf
> The fonts were then easily callable via the CSS attribute "font-family"
> Now recently upon upgrading to iOS 5 the fonts no longer work. Bummerz. Anyone have any ideas?
> It must be either something to do with the way XCode assigns the font resources in iOS 5 or that PhoneGap.js is not finding these resources that are available?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (CB-43) Embedded fonts fail in iOS 5

Posted by "Tue Topholm (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CB-43?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13170603#comment-13170603 ] 

Tue Topholm commented on CB-43:
-------------------------------

Hi Shazron

I have no issues with this, it works fine all the apps I have done on iOS 5
                
> Embedded fonts fail in iOS 5
> ----------------------------
>
>                 Key: CB-43
>                 URL: https://issues.apache.org/jira/browse/CB-43
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: iOS
>            Reporter: Shazron Abdullah
>
> reported at: https://github.com/phonegap/phonegap-iphone/issues/316
> by: https://github.com/brennannovak
> Previously in iOS 4.x the following method worked excellently for embedding fonts in my PhoneGap + iOS 4.x project
> By adding the following entry to the MyApp-Info.plist
> Fonts provided by application : MyFontName.ttf
> The fonts were then easily callable via the CSS attribute "font-family"
> Now recently upon upgrading to iOS 5 the fonts no longer work. Bummerz. Anyone have any ideas?
> It must be either something to do with the way XCode assigns the font resources in iOS 5 or that PhoneGap.js is not finding these resources that are available?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CB-43) Embedded fonts fail in iOS 5

Posted by "Shazron Abdullah (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CB-43?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shazron Abdullah resolved CB-43.
--------------------------------

    Resolution: Won't Fix

More of a "font already included in iOS 5" thing with workaround by Brennan
                
> Embedded fonts fail in iOS 5
> ----------------------------
>
>                 Key: CB-43
>                 URL: https://issues.apache.org/jira/browse/CB-43
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: iOS
>            Reporter: Shazron Abdullah
>
> reported at: https://github.com/phonegap/phonegap-iphone/issues/316
> by: https://github.com/brennannovak
> Previously in iOS 4.x the following method worked excellently for embedding fonts in my PhoneGap + iOS 4.x project
> By adding the following entry to the MyApp-Info.plist
> Fonts provided by application : MyFontName.ttf
> The fonts were then easily callable via the CSS attribute "font-family"
> Now recently upon upgrading to iOS 5 the fonts no longer work. Bummerz. Anyone have any ideas?
> It must be either something to do with the way XCode assigns the font resources in iOS 5 or that PhoneGap.js is not finding these resources that are available?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira