mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-28 13:18:19 +00:00
LibPDF: Add char_code -> name mapping function
We already keep both mappings internally, now it's time to actually use it.
This commit is contained in:
parent
82bd854d6f
commit
64bbe431b5
Notes:
sideshowbarker
2024-07-17 07:08:37 +09:00
Author: https://github.com/rtobar
Commit: 64bbe431b5
Pull-request: https://github.com/SerenityOS/serenity/pull/17359
2 changed files with 10 additions and 0 deletions
|
@ -641,6 +641,8 @@ public:
|
|||
HashMap<DeprecatedString, CharCodeType> const& name_mapping() const { return m_name_mapping; }
|
||||
|
||||
u16 get_char_code(DeprecatedString const&) const;
|
||||
DeprecatedFlyString get_name(u8 char_code) const;
|
||||
|
||||
void set(CharCodeType char_code, DeprecatedFlyString const& glyph_name);
|
||||
|
||||
protected:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue