mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:57:35 +00:00
LibPDF: Add name -> char code conversion in Encoding
This is an operation that was already being done (sub-optimally) in PS1FontProgram, so we are replacing that. We will use this during CFF parsing too.
This commit is contained in:
parent
c592b889bf
commit
1ec4ad5eb6
3 changed files with 11 additions and 2 deletions
|
@ -645,6 +645,7 @@ public:
|
|||
HashMap<u16, CharDescriptor> const& descriptors() const { return m_descriptors; }
|
||||
HashMap<DeprecatedString, u16> const& name_mapping() const { return m_name_mapping; }
|
||||
|
||||
u16 get_char_code(DeprecatedString const&) const;
|
||||
CharDescriptor const& get_char_code_descriptor(u16 char_code) const;
|
||||
|
||||
bool should_map_to_bullet(u16 char_code) const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue