mirror of
https://github.com/RGBCube/serenity
synced 2025-05-30 22:38:12 +00:00
Implement basic support for variable-width fonts.
Also add a nice new font called Katica. It's not used anywhere yet but I'm definitely itching to start using it. :^)
This commit is contained in:
parent
0a86366c71
commit
7f6c81d90f
8 changed files with 95 additions and 22 deletions
|
@ -26,9 +26,8 @@ int main(int argc, char** argv)
|
|||
|
||||
auto* window = new GWindow;
|
||||
window->set_title("FontEditor");
|
||||
window->set_rect({ 50, 50, 420, 200 });
|
||||
window->set_rect({ 50, 50, 420, 300 });
|
||||
auto* font_editor = new FontEditorWidget(path, move(edited_font));
|
||||
font_editor->set_relative_rect({ 0, 0, 420, 200 });
|
||||
window->set_main_widget(font_editor);
|
||||
window->set_should_exit_app_on_close(true);
|
||||
window->show();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue