Commit Graph

7 Commits

Author SHA1 Message Date
Aqil Contractor 9b1bfeacac
Added a smoothing and strikethrough option to font loading. (#1087)
* Added a smoothing option to font loading.
* Added a font strikethrough option to font loading.
* Fixed underline applying incorrectly in cases of non-underlined fallback fonts being used.

Co-authored-by: Guldoman <giulio.lettieri@gmail.com>
2022-08-20 16:15:08 -04:00
jgmdev d2f9eeea07 renderer fonts: additions and improvements
* Allow passing font options to renderer.font:copy().
* Added renderer.font:get_path()
* Reintroduced set_size() for more faster font size changes
* Swapped copy wiht set_size on scale plugin for better performance
* Use code_font:copy() instead of renderer.font.load() on language_md to
  properly match user font now that font options are supported on copy.
* Added new changes to renderer docs
2022-06-23 18:08:04 -04:00
jgmdev 8bda5d4198 docs: added font.group to renderer and other adjustments 2022-05-14 20:16:59 -04:00
Joshua Minor 272ecd64bf Removed docs for get_width_subpixel and subpixel_scale which no longer exist. 2021-11-26 23:27:33 -08:00
Cukmekerb 3867ff2be7
Document bold, italic, and underlined font rendering 2021-11-05 14:35:58 -07:00
jgmdev 900e9d1422 Namespaced aliases, virtual classes and added missing returns. 2021-07-09 18:33:25 -04:00
jgmdev bd50401687 Documented with EmmyLua the C API using .lua interface files. 2021-06-25 02:25:05 -04:00