mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-31 13:19:05 +00:00
LibGfx: Return family names by reference to avoid unnecessairy cloning
This commit is contained in:
parent
b3c253e50f
commit
ec5ea0d686
Notes:
github-actions[bot]
2024-11-20 14:39:14 +00:00
Author: https://github.com/yyny
Commit: ec5ea0d686
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1985
Reviewed-by: https://github.com/awesomekling
6 changed files with 6 additions and 6 deletions
|
@ -30,7 +30,7 @@ public:
|
|||
Optional<Percentage> ascent_override() const { return m_ascent_override; }
|
||||
Optional<Percentage> descent_override() const { return m_descent_override; }
|
||||
FontDisplay font_display() const { return m_font_display; }
|
||||
FlyString font_family() const { return m_font_family; }
|
||||
FlyString const& font_family() const { return m_font_family; }
|
||||
Optional<OrderedHashMap<FlyString, i64>> font_feature_settings() const { return m_font_feature_settings; }
|
||||
Optional<FlyString> font_language_override() const { return m_font_language_override; }
|
||||
Optional<FlyString> font_named_instance() const { return m_font_named_instance; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue