Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: [PR PATCH] freetype: enable subpixel rendering
Date: Tue, 23 Jul 2019 15:53:59 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-13296@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 537 bytes --]

There is a new pull request by andry-dev against master on the void-packages repository

https://github.com/andry-dev/void-packages freetype
https://github.com/void-linux/void-packages/pull/13296

freetype: enable subpixel rendering
This patch enables subpixel rendering (also called ClearType) for freetype.
While ClearType is patented by Microsoft, they joined the Open Source Initiative in 2017; since then Fedora also enabled it by default.

A patch file from https://github.com/void-linux/void-packages/pull/13296.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-freetype-13296.patch --]
[-- Type: application/text/x-diff, Size: 1554 bytes --]

From 3c67a61300ac6d490cc978e1b00bb51acfdaa63e Mon Sep 17 00:00:00 2001
From: andry-dev <peketribal2@gmail.com>
Date: Tue, 23 Jul 2019 15:34:56 +0200
Subject: [PATCH] freetype: enable subpixel rendering

---
 .../freetype/patches/enable-subpixel-rendering.patch  | 11 +++++++++++
 srcpkgs/freetype/template                             |  2 +-
 2 files changed, 12 insertions(+), 1 deletion(-)
 create mode 100644 srcpkgs/freetype/patches/enable-subpixel-rendering.patch

diff --git a/srcpkgs/freetype/patches/enable-subpixel-rendering.patch b/srcpkgs/freetype/patches/enable-subpixel-rendering.patch
new file mode 100644
index 00000000000..5cba955ca2c
--- /dev/null
+++ b/srcpkgs/freetype/patches/enable-subpixel-rendering.patch
@@ -0,0 +1,11 @@
+--- include/freetype/config/ftoption.h
++++ include/freetype/config/ftoption.h
+@@ -126,7 +126,7 @@
+    * macro is not defined, FreeType offers alternative LCD rendering
+    * technology that produces excellent output without LCD filtering.
+    */
+-/* #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING */
++#define FT_CONFIG_OPTION_SUBPIXEL_RENDERING
+
+
+   /**************************************************************************
diff --git a/srcpkgs/freetype/template b/srcpkgs/freetype/template
index 9b08f374592..3c1c176d106 100644
--- a/srcpkgs/freetype/template
+++ b/srcpkgs/freetype/template
@@ -1,7 +1,7 @@
 # Template file for 'freetype'
 pkgname=freetype
 version=2.10.1
-revision=1
+revision=2
 build_style=gnu-configure
 configure_args="--enable-freetype-config"
 hostmakedepends="pkg-config"

             reply	other threads:[~2019-07-23 13:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-23 13:53 voidlinux-github [this message]
2019-07-24 11:00 ` voidlinux-github
2019-07-24 11:00 ` [PR PATCH] [Merged]: " voidlinux-github

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-13296@inbox.vuxu.org \
    --to=voidlinux-github@inbox.vuxu.org \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).