Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • F fonttosfnt
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • 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
  • !7

Fix metrics

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged madroach requested to merge madroach/fonttosfnt:fix_metrics into master May 31, 2020
  • Overview 62
  • Commits 13
  • Pipelines 0
  • Changes 6

With pango 1.44 gvim with gtk gui will use too large character cells since pango now uses the global font ascent / descent / height / advance parameters. This merge request fixes the global font metrics to match the requirements named here With this change and that vim patch my gvim finaly uses the correct char cell size.

Since pango no longer uses the values in the EBDT table it seems to be necessary to put each font face into a separate font file. This should maybe be documented. See a related issue on pango. To fix the vertical char cell size I needed to fix a rounding issue in vim, too. Pull Request

Edited Sep 22, 2020 by madroach
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: fix_metrics