Bug 249136 - print/freetype2: enable PNG by default (for color emoji fonts)
Summary: print/freetype2: enable PNG by default (for color emoji fonts)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-desktop (Team)
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2020-09-06 00:12 UTC by Jan Beich
Modified: 2020-09-08 01:00 UTC (History)
2 users (show)

See Also:
tcberner: maintainer-feedback+


Attachments
v1 (773 bytes, patch)
2020-09-06 00:12 UTC, Jan Beich
tcberner: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer freebsd_triage 2020-09-06 00:12:44 UTC
Created attachment 217778 [details]
v1

x11-fonts/noto-emoji requires PNG to render "Noto Color Emoji". When fontconfig is forced to pick the color font (avoid monochrome fallback) emojis are rendered as empty space (not even tofu).

Inspired by https://twitter.com/gumnos/status/1302227336453128194

Tested with www/firefox and x11/alacritty.
Alpine, Arch, Fedora, Debian, Mageia, openSUSE, Void do enable libpng support.
Comment 1 Tobias C. Berner freebsd_committer freebsd_triage 2020-09-06 06:06:01 UTC
Comment on attachment 217778 [details]
v1

LGTM, thanks.
Comment 2 commit-hook freebsd_committer freebsd_triage 2020-09-08 00:53:19 UTC
A commit references this bug:

Author: jbeich
Date: Tue Sep  8 00:52:49 UTC 2020
New revision: 547954
URL: https://svnweb.freebsd.org/changeset/ports/547954

Log:
  print/freetype2: enable PNG by default

  Required by x11-fonts/noto-emoji for colored emoji. PNG unlike SVG is
  compatible with many freetype2 consumers.

  PR:		249136
  Approved by:	tcberner

Changes:
  head/print/freetype2/Makefile