Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • L libXft
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 5
    • Issues 5
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & 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
  • xorg
  • lib
  • libXft
  • Merge requests
  • !1

Add support for BGRA glyphs and scaling

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Maxime Coste requested to merge mawww/libxft:bgra-glyphs into master Oct 23, 2019
  • Overview 113
  • Commits 3
  • Changes 4

Scaling is done by averaging all relevant pixel, which gives much better result than nearest pixel sampling while staying simple enough and not too computationally expensive.

This enables color emoji rendering support.

I tested this on st and dmenu, both work fine once fontconfig is setup to prepend color emoji fonts. rxvt-unicode requires a small patch.

dmenu:

dmenu-emoji

urxvt:

urxvt-emoji

st:

st-emoji

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: bgra-glyphs