EgoMooseOldProjects / Rbx_CustomFont

A custom font management system for Roblox
MIT License
21 stars 17 forks source link

Split Roboto font definitions to multiple scripts #13

Closed Gskartwii closed 8 years ago

Gskartwii commented 8 years ago

This patch adds back all the different Roboto variations and splits the font definitions into multiple files to avoid issues with Roblox's replication breaking.

I was also working on adding Latin accents to the font set. I got all the atlases uploaded already, but there is a bug in Roblox which is preventing me from working on it further (Anaminus/roblox-bug-tracker#794)

EDIT: On second thought, UTF-8 encoding breaking stuff can be avoided by

  1. not using TextReplace
  2. not changing the properties from the Studio widget while Rbx_CustomFont has its event listeners bound to the object in question.

I however think that Rbx_CustomFont should have proper Unicode support and not be limited to Windows-1252, which may require a reimplementation of the string library that is compatible with UTF-8.

Gskartwii commented 8 years ago

Also, Roboto.part.*.lua are all ModuleScripts inside the main Roboto ModuleScript.