diff options
author | Rodrigo Tobar <rtobarc@gmail.com> | 2023-01-23 22:07:04 +0800 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2023-02-02 14:50:38 +0100 |
commit | fb0c3a9e18cbd55423b1dc780e5847a5202aa3e5 (patch) | |
tree | e49990b9ae3e00965a8df1a258a01f8c05ff3729 /AK | |
parent | 7c42d6c737ac394d4c705aeec455938f8c866866 (diff) | |
download | serenity-fb0c3a9e18cbd55423b1dc780e5847a5202aa3e5.zip |
LibPDF: Stop calculating code points for glyphs
When rendering text, a sequence of bytes corresponds to a glyph, but not
necessarily to a character. This misunderstanding permeated through the
Encoding through to the Font classes, which were all trying to calculate
such values. Moreover, this was done only to identify "space"
characters/glyphs, which were getting a special treatment (e.g., avoid
rendering). Spaces are not special though -- there might be fonts that
render something for them -- and thus should not be skipped
Diffstat (limited to 'AK')
0 files changed, 0 insertions, 0 deletions