format.py 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. # A static data structure that contains all of the formats that
  2. # forc can export to, what their names and what their properties are.
  3. formats = {"SVGinOT":
  4. {"name": "SVGinOT"
  5. ,"imageFormat": "svg"
  6. ,"imageTables": "SVG"
  7. ,"ligatureFormat": "OpenType"
  8. ,"extension": ".otf"
  9. ,"iOSCompile": False
  10. }
  11. ,"sbixOT":
  12. {"name": "sbixOT"
  13. ,"imageFormat": "png"
  14. ,"imageTables": "sbix"
  15. ,"ligatureFormat": "OpenType"
  16. ,"extension": ".ttf"
  17. ,"iOSCompile": False
  18. }
  19. ,"sbixOTiOS":
  20. {"name": "sbixOTiOS"
  21. ,"imageFormat": "png"
  22. ,"imageTables": "sbix"
  23. ,"ligatureFormat": "OpenType"
  24. ,"extension": ".ttf"
  25. ,"iOSCompile": True
  26. }
  27. ,"CBx":
  28. {"name": "CBx"
  29. ,"imageFormat": "png"
  30. ,"imageTables": "CBx"
  31. ,"ligatureFormat": "OpenType"
  32. ,"extension": ".ttf"
  33. ,"iOSCompile": False
  34. }
  35. }
  36. compilers = ["ttx", "forc"]