Jump to content

OptimusRay's Content

There have been 1 items by OptimusRay (Search limited from 29-April 23)


Sort by                Order  

#20893 Fonts for MySword, how to?

Posted by OptimusRay on 15 April 2014 - 06:39 PM in MySword

I came across this old thread and since I have the same question I went to look for a solution. I want to post this here for those that come after.

 

1. If you installed any fonts from MySword application, you would have the "sdcard\mysword\fonts\" folder (or wherever you installed it), if not, you might be able to manually make it or install one font and have the program make the folder for you.

2. Copy your font to that folder.

3. Now you need to make the corresponding CSS file. If you installed a font you can look at its CSS file. Here is the one I made, copy and paste the code below, modify and save it something like MYFONT.css, assuming your font is called MYFONT.ttf)  Note: I found out the extension of these two files (css and ttf) MUST be in lower case or it won't work.

 

/* Comment for Myfont */

@font-face {

  font-family: 'Myfont';

  src: url('MYFONT.TTF');

}

body{font-family:'Myfont'}

 

4. Finally go to MySword->Preferences->Fonts->Font->You should see "Myfont" under the pop up menu and you can select it.

 

Blessings

Ray