Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • F fonttosfnt
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • xorgxorg
  • app
  • fonttosfnt
  • Merge requests
  • !18

Use FONT_UNITS_FLOOR for ascent/descent

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Jan Friesse requested to merge jfriesse/fonttosfnt:fix-pango-1.49.3-height into master Nov 02, 2022
  • Overview 0
  • Commits 1
  • Pipelines 3
  • Changes 1

Before version 1.49.3 the pango was using (probably) values from BLC table, since 1.49.3 pango uses harfbuzz for metrics and it seems harfbuzz is using OS2 table. Result is font with 1px extra for ascend/descent.

Solution seems to be to use FONT_UNITS_FLOOR instead of FONT_UNITS_CEIL when storing file.

Fixes: #7

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: fix-pango-1.49.3-height