mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:48:11 +00:00
LibGUI: Make GlyphMapWidget work with vector fonts
This basically just meant replacing the `m_font` field with the one inherited from Widget.
This commit is contained in:
parent
8175cd0a28
commit
21a24c36a8
3 changed files with 15 additions and 23 deletions
|
@ -488,7 +488,7 @@ void FontEditorWidget::initialize(String const& path, RefPtr<Gfx::BitmapFont>&&
|
|||
m_path = path;
|
||||
m_edited_font = edited_font;
|
||||
|
||||
m_glyph_map_widget->initialize(*m_edited_font);
|
||||
m_glyph_map_widget->set_font(*m_edited_font);
|
||||
m_glyph_editor_widget->initialize(*m_edited_font);
|
||||
did_resize_glyph_editor();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue