Use custom fonts in Text/Ticker/DataSet
It would be useful to assign and send a custom font for use with the Ticker/
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- Dan Garner
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- New
- Series goal:
- None
- Implementation:
- Implemented
- Milestone target:
- 1.7.0-alpha2
- Started by
- Dan Garner
- Completed by
- Dan Garner
Related branches
Related bugs
Sprints
Whiteboard
Target for 1.7 alpha, but might slip..
Would need to use the @font-face CSS3 tag to reference the custom font. Would also need some way for this to slip into CKEditor (perhaps re-writing some temporary CSS?)
Workaround and possible implementation notes (the client would have to substitute this field though)
modules/
Line 10 ish (depending on your version the line number might be different, but you are looking for the <style type=text/css> declaration. Just after that and before the body { declaration add:
@font-face {
font-family: <<the name you used in the CMS>>;
src: url('file://<<your font path>>/<<your font name>>.ttf');
}
That should load the font resource for Android to use.