1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-20 17:55:08 +00:00
serenity/Userland
Nico Weber f54b0e7c22 LibPDF: Don't accidentally put horizontal_scaling in places
Fonts should have size font_size times total scaling. We tried to
get that by computing text_rendering_matrix.x_scale() * font_size,
but text_rendering_matrix.x_scale() also includes
horizontal_scaling, which shouldn't be part of font size.

Same for character_spacing and word_spacing.

This is all a big mess that's caused by LibPDF using ScaledFont,
which requires scaling to be aprt of the text type. I have an
in-progress local branch that moves LibPDF to directly use VectorFont,
which will hopefully make this (and other things) nicer. But first,
let's get this right, and then make sure we don't regress it when
things change :^)
2024-01-18 14:01:30 +01:00
..
Applets Everywhere: Use to_number<T> instead of to_{int,uint,float,double} 2023-12-23 20:41:07 +01:00
Applications Ladybird: Change default new tab URL to about:newtab 2024-01-17 17:32:05 +01:00
BuggieBox checksum: Add support for BLAKE2b 2023-09-17 16:49:35 +03:30
Demos Demos: Add fullscreen option to those that don't 2024-01-14 15:18:43 -07:00
DevTools HackStudio: Make Files and Classes tabs have the same border width 2024-01-16 15:23:07 +01:00
DynamicLoader Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
Games MasterWord: Add fullscreen option 2024-01-14 15:18:43 -07:00
Libraries LibPDF: Don't accidentally put horizontal_scaling in places 2024-01-18 14:01:30 +01:00
Services LibFileSystem+Everywhere: Return ByteString from read_link() 2024-01-16 08:42:34 +00:00
Shell LibFileSystem+Everywhere: Return ByteString from read_link() 2024-01-16 08:42:34 +00:00
Utilities Ladybird+WebContent: Add chrome command line and exe path passing 2024-01-17 17:32:05 +01:00
CMakeLists.txt Userland: Add the BuggieBox program 2022-11-26 12:41:47 -07:00