Font update

mightyeditor_fonts_update
A new update is pushed and here is the list of changes that are implemented. The most focus was put on font issues.

  • Show system fonts button – allows to pick local system font. Useful to prototype text very fast. Remember if you want to use font everywhere – you still need to upload font to the MightyEditor. On the side note – to collect installed fonts ME uses flash plugin, so button wouldn’t work if you have flash plugin disabled.
  • Advanced font uploader – drag and drop font file (*.ttf) and MightyEditor will do all for you:
    • Convert file to most used font formats
    • Generate font-face
  • Font downloader – enter any font name from Google Fonts in the font name box and MightyEditor will automatically download it for you and prepare downloaded font for usage in your game. It works even in the offline mode!
  • Font viewer – in source editor section – which shows basic font information. e.g. font-family, copyright etc
  • Sign-up fixes – in some cases users were not be able to sign-up with local account. Also fixed input problem when signing in for Safari.

Please note to use fonts in all previous projects add the line below to the head tag in the index.html file.


index.html should look something like this:

    
    
    <script src="js/lib/phaser.min.js" type="text/javascript"></script><script src="js/lib/mt.helper.js" type="text/javascript"></script><script src="js/lib/mt.data.js" type="text/javascript"></script><script src="js/main.js" type="text/javascript"></script><script src="js/state/boot.js" type="text/javascript"></script><script src="js/state/load.js" type="text/javascript"></script><script src="js/state/menu.js" type="text/javascript"></script><script src="js/state/play.js" type="text/javascript"></script><script src="js/state/demo.js" type="text/javascript"></script>

fonts/fonts.css is autoamtically generated file. Please do not edit it directly!

At the moment MightyEditor suports only .ttf font format as input. Feel free to request different formats

2 comments on “Font update

    1. Thanks for pointing it out. We will add OTF and other formats which can be converted by FontForge. We will push it on next or after the next update.

Leave a Reply

Your email address will not be published. Required fields are marked *