Skip to content
Snippets Groups Projects
Verified Commit 6a911922 authored by Igor Oliveira's avatar Igor Oliveira Committed by Pier Angelo Vendrame
Browse files

Bug 23104: Add a default line height compensation

Many fonts have issues with their vertical metrics. they
are used to influence the height of ascenders and depth
of descenders. Gecko uses it to calculate the line height
(font height + ascender + descender), however because of
that idiosyncratic behavior across multiple operating
systems, it can be used to identify the user's OS.

The solution proposed in the patch uses a default factor
to be multiplied with the font size, simulating the concept
of ascender and descender. This way all operating
systems will have the same line height.
parent cd88d131
Branches
Tags
1 merge request!734Bug 42030: Rebased 13.0 alpha onto Firefox 115.2.0esr
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment