[TIMOB-12664] CLI: Mobile Web: Add support for TTF fonts and spaces in font name
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-03-12T21:16:44.000+0000 |
Affected Version/s | Release 3.0.0 |
Fix Version/s | Release 3.1.0, 2013 Sprint 05 JS, 2013 Sprint 05 |
Components | CLI |
Labels | n/a |
Reporter | Chris Barber |
Assignee | Chris Barber |
Created | 2013-02-11T19:15:43.000+0000 |
Updated | 2017-03-14T17:54:39.000+0000 |
Description
Right now Mobile Web only support OTF and WOFF fonts. We need to also add support for TTF.
Look at mobileweb/cli/commands/_build.js around line 727.
Attachments
File | Date | Size |
---|---|---|
Snowburst One.woff | 2013-03-03T02:17:56.000+0000 | 29156 |
Master pull request: https://github.com/appcelerator/titanium_mobile/pull/3927 Test case:
A woff web font is attached. Place anywhere in the Resources directory. I know it's not a ttf, but it's more of a test of spaces in the filename.
Text is displayed in woff font. Verified using: SDK: 3.1.1.v20130509173053 CLI version : 3.1.0 OS : MAC OSX 10.7.5 Appcelerator Studio, build: 3.1.0.201305092424 XCode : 4.5.1
Closing ticket as fixed.