Commit Graph

15 Commits

Author SHA1 Message Date
bruvzg 27e9d07f11 Remove Scene dependency from the TextServer, use scalable hex box font instead of built-in bitmap one. 2021-10-03 00:22:10 +03:00
bruvzg e5b956dc2d [Editor Fonts] Add Noto Sans Bold font variant for supported languages. 2021-07-19 23:08:05 +03:00
Hugo Locurcio d211c05111
Use a DynamicFont for the default project theme
This makes font oversampling work out of the box, while also increasing
the supported character set's size. The default font is now larger
as well to better fit today's screen resolutions.

The OpenSans SemiBold font was chosen for two reasons:

- Small file size, yet its character set supports Latin-1 and Cyrillic
  text.
- A heavier font weight looks better in most "game" scenarios and is
  more readable against mixed-color backgrounds.

This is considered a breaking change as it changes the default font's
metrics, which will likely affect how Control nodes are laid out in
scenes (unless a custom font is in use).
2021-05-17 15:19:13 +02:00
bruvzg 99666de00f
[Complex Text Layouts] Refactor Font class, default themes and controls to use Text Server interface.
Implement interface mirroring.
Add TextLine and TextParagraph classes.
Handle UTF-16 input on macOS and Windows.
2020-11-26 14:25:48 +02:00
bruvzg 493da99269
[Complex Text Layouts] Implement TextServer interface. Implement Fallback TextServer. 2020-11-26 13:55:26 +02:00
volzhs 1dc6d47df9 Add Hindi font for editor 2018-08-30 05:11:09 +09:00
Juan Linietsky 8b9b653e76
Merge pull request #18113 from toger5/bold_font
added bold font to editor (support for coustom bold font)
2018-05-07 15:54:44 -03:00
toger5 29216b2bad added bold font to editor (support for coustom bold font) 2018-04-19 22:00:58 +02:00
Hugo Locurcio 93f52813bf
Update Hack font to v3.003 2018-04-11 22:40:58 +02:00
Hugo Locurcio 979c451d07
Update Hack font to version 3.000 2017-12-15 10:25:12 +01:00
Daniel J. Ramirez 52c0550dd7 Changed Mononoki font to Hack font 2017-09-17 13:55:48 -05:00
Daniel J. Ramirez b17c801ee8 Changed source font to Mononoki. 2017-09-14 01:13:30 -05:00
volzhs a4a4f6dada Replace editor font to NotoSans for Latin, Arabic, Hebrew, Thai 2017-08-31 21:49:48 +09:00
volzhs f031b111dd Update source code pro font to 2.030 2017-08-31 21:31:46 +09:00
Rémi Verschelde b87a232668 Reorder the folders in tools to prepare moving tools/editor
- `certs` and `editor_fonts` go to `thirdparty`
- `dist` and `scripts` go to a new `misc` folder
- `collada` and `doc` go to `tools/editor`

The next step will be to rename `tools/editor` to `editor` directly,
but this will be done at the right time to avoid breaking too many PRs.
2017-02-09 00:08:27 +01:00