mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-08 18:46:03 +00:00
LibPDF: Add spec ref to Renderer::calculate_text_rendering_matrix()
This commit is contained in:
parent
8507151850
commit
6c65c18c40
Notes:
sideshowbarker
2024-07-16 22:34:39 +09:00
Author: https://github.com/nico
Commit: 6c65c18c40
Pull-request: https://github.com/SerenityOS/serenity/pull/22819
Reviewed-by: https://github.com/AtkinsSJ
1 changed files with 1 additions and 0 deletions
|
@ -1307,6 +1307,7 @@ PDFErrorOr<NonnullRefPtr<ColorSpace>> Renderer::get_color_space_from_document(No
|
|||
Gfx::AffineTransform const& Renderer::calculate_text_rendering_matrix() const
|
||||
{
|
||||
if (m_text_rendering_matrix_is_dirty) {
|
||||
// PDF 1.7, 5.3.3. Text Space Details
|
||||
m_text_rendering_matrix = Gfx::AffineTransform(
|
||||
text_state().horizontal_scaling,
|
||||
0.0f,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue