[Bug 1722508] Re: Font hinting appears broken on 17.10 beta

2018-07-06 Thread Woko
I just installed the new KDE Neon Bionic version as a VM. The Trick
doesn't work there. The freetype-version is 2.8.1-2ubuntu2 like on the
Kubuntu Host. Maybe the /etc/environment is ignored there. I'm just
researching.

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1722508

Title:
  Font hinting appears broken on 17.10 beta

To manage notifications about this bug go to:
https://bugs.launchpad.net/qt/+bug/1722508/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1722508] Re: Font hinting appears broken on 17.10 beta

2018-03-03 Thread roots
Thanks Martin,

this did the trick with Ubuntu 18.04 as well.


Cheers,
r.

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1722508

Title:
  Font hinting appears broken on 17.10 beta

To manage notifications about this bug go to:
https://bugs.launchpad.net/qt/+bug/1722508/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1722508] Re: Font hinting appears broken on 17.10 beta

2018-01-30 Thread Woko
I can report that the solution Martin reported works also for Monospace in 
Konsole-sessions.
Because it's much better than downgrading, I removed all the changes I 
described in #23 and it works like a charm.

Thanks a lot Martin!

Wolfram

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1722508

Title:
  Font hinting appears broken on 17.10 beta

To manage notifications about this bug go to:
https://bugs.launchpad.net/qt/+bug/1722508/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1722508] Re: Font hinting appears broken on 17.10 beta

2018-01-05 Thread gldickens3
Hi Martin,

Thanks for the tip!  Defining the FREETYPE_PROPERTIES as you suggested
in /etc/environment did indeed disable hinting and renders the same
crisper fonts as was in earlier versions of Ubuntu.  Personally, I still
prefer to disable hinting in the source code but your suggestion works
just as well.

Thanks again!

Gordon

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1722508

Title:
  Font hinting appears broken on 17.10 beta

To manage notifications about this bug go to:
https://bugs.launchpad.net/qt/+bug/1722508/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1722508] Re: Font hinting appears broken on 17.10 beta

2017-12-24 Thread Martin Dauskardt
In german ubuntuusers forum there is an simpler solution without need to 
downgrade libfreetype.
https://forum.ubuntuusers.de/post/8914328/

Just add

FREETYPE_PROPERTIES="truetype:interpreter-version=35 cff:no-stem-
darkening=1 autofitter:warping=1"

in /etc/environment and restart x-server or reboot.

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1722508

Title:
  Font hinting appears broken on 17.10 beta

To manage notifications about this bug go to:
https://bugs.launchpad.net/qt/+bug/1722508/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1722508] Re: Font hinting appears broken on 17.10 beta

2017-12-01 Thread Jeremy Bicha
> Its not so much that the font rendering is better or worse but that it
is different than before

Gordon, thanks for your reply.

I think your issue is different than the Qt issue mentioned by many of
the commenters here.

I help maintain Ubuntu's font packages, but I just started with that and
I wasn't involved in the freetype 2.7/2.8 upgrade nor am I familiar with
how Ubuntu's font rendering used to work. I encourage you to start a
Desktop topic at https://community.ubuntu.com/ for your suggestion. If
you could provide before and after screenshots, that would be helpful.

We might want to keep a more upstream default font rendering. I don't
know, but I am hopeful that your post will help us figure out what to
do.

By the way, I expect we'll be upgrading to freetype 2.8.1 for Ubuntu
18.04 LTS, but I am waiting for the next Electron release first. See LP:
#1728329

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1722508

Title:
  Font hinting appears broken on 17.10 beta

To manage notifications about this bug go to:
https://bugs.launchpad.net/qt/+bug/1722508/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1722508] Re: Font hinting appears broken on 17.10 beta

2017-12-01 Thread gldickens3
Hello jbicha,

I am not running Kubuntu but I am running KDE Plasma 5 and Qt apps on
several OpenSUSE installations. On my Ubuntu installation I am running
Gnome Shell. As an FYI, I maintain a freetype2 repository with subpixel
rendering enabled for OpenSUSE Leap and Tumbleweed. Like most of the
other Linux desktop OS versions, OpenSUSE does NOT enable subpixel
rendering with the FT_CONFIG_OPTION_SUBPIXEL_RENDERING variable and I
provide that option with my repo. In one of my repos I use the Ubuntu
freetype2 diff file for implementing the subpixel rendering patches.
Several months ago, I noticed that the font rendering changed when I
upgraded my font repositories to freetype-2.7.1 and the difference in
the rendering was caused by the introduction of the
TT_CONFIG_OPTION_SUBPIXEL_HINTING parameter in ftoptions.h. Its not so
much that the font rendering is better or worse but that it is different
than before with freetype-2.6.X. In any event, at that time, I
discovered that the font rendering would be made exactly the same as
before by not defining TT_CONFIG_OPTION_SUBPIXEL_HINTING in freetype2
versions 2.7 and later.

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1722508

Title:
  Font hinting appears broken on 17.10 beta

To manage notifications about this bug go to:
https://bugs.launchpad.net/qt/+bug/1722508/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1722508] Re: Font hinting appears broken on 17.10 beta

2017-11-30 Thread Ubuntu Foundations Team Bug Bot
The attachment "Patch to disable #define
TT_CONFIG_OPTION_SUBPIXEL_HINTING" seems to be a patch.  If it isn't,
please remove the "patch" flag from the attachment, remove the "patch"
tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the
team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issues please contact him.]

** Tags added: patch

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1722508

Title:
  Font hinting appears broken on 17.10 beta

To manage notifications about this bug go to:
https://bugs.launchpad.net/qt/+bug/1722508/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1722508] Re: Font hinting appears broken on 17.10 beta

2017-11-30 Thread Jeremy Bicha
Gordon, according to earlier comments, the Qt part of this bug will be
fixed before 18.04 LTS's release. Are you using Kubuntu or Qt apps?

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1722508

Title:
  Font hinting appears broken on 17.10 beta

To manage notifications about this bug go to:
https://bugs.launchpad.net/qt/+bug/1722508/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1722508] Re: Font hinting appears broken on 17.10 beta

2017-11-30 Thread gldickens3
In the first line of third paragraph of my prior post I meant to say
"(commented out)" instead of "(uncommented)"  So, that line should read:
"This needs to be undefined (commented out) in order for freetype-2.7
and 2.8 to render fonts identically to prior versions of Ubuntu freetype
(freetype-2.6.X and earlier)."

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1722508

Title:
  Font hinting appears broken on 17.10 beta

To manage notifications about this bug go to:
https://bugs.launchpad.net/qt/+bug/1722508/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1722508] Re: Font hinting appears broken on 17.10 beta

2017-11-30 Thread gldickens3
One of the primary differences in freetype-2.8 and prior Ubuntu versions
of freetype is the introduction of TT_CONFIG_OPTION_SUBPIXEL_HINTING in
/include/freetype/config/ftoption.h in freetype-2.7.X and later. The
default value is:

#define TT_CONFIG_OPTION_SUBPIXEL_HINTING  2

This needs to be undefined (uncommented) in order for freetype-2.7 and
2.8 to render fonts identically to prior versions of Ubuntu freetype
(freetype-2.6.X and earlier).

The diff file (freetype_2.8-0.2ubuntu2.diff.gz) at
https://launchpad.net/ubuntu/+source/freetype/2.8-0.2ubuntu2 enables
FT_CONFIG_OPTION_SUBPIXEL_RENDERING in
/include/freetype/config/ftoption.h with:

#define FT_CONFIG_OPTION_SUBPIXEL_RENDERING

This properly enables subpixel rendering to render fonts identical to MS
cleartype, however, if TT_CONFIG_OPTION_SUBPIXEL_HINTING is also set
then the fonts are rendered differently than before.  So, this problem
is fixed simply by undefining TT_CONFIG_OPTION_SUBPIXEL_HINTING.

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1722508

Title:
  Font hinting appears broken on 17.10 beta

To manage notifications about this bug go to:
https://bugs.launchpad.net/qt/+bug/1722508/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1722508] Re: Font hinting appears broken on 17.10 beta

2017-11-28 Thread imachine
Then see here the correctly displayed fonts on Gmail (also downloaded
from Gmail's server, no local font).

Works fine and hints correctly.

What gives?

Running last stable firefox (56.0, 57 all messed up, so locked 56 with
apt-lock)

Ubuntu 17.10

** Attachment added: "Screenshot-2017-11-28 Ubuntu One Forgotten Password - m 
jedrasik gmail com - Gmail.png"
   
https://bugs.launchpad.net/ubuntu/+source/freetype/+bug/1722508/+attachment/5015638/+files/Screenshot-2017-11-28%20Ubuntu%20One%20Forgotten%20Password%20-%20m%20jedrasik%20gmail%20com%20-%20Gmail.png

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1722508

Title:
  Font hinting appears broken on 17.10 beta

To manage notifications about this bug go to:
https://bugs.launchpad.net/qt/+bug/1722508/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1722508] Re: Font hinting appears broken on 17.10 beta

2017-11-10 Thread Ragnar Dunbar
In 17.10 (Gnome), when I change the font to 'Ubuntu Mono Regular', as I
always do, and switch to Antialiasing LCD in gnome-tweak-tool and
Hinting to Full, fonts look messy. When I do the same in Ubuntu 16.04
via unity-tweak-tool, fonts are crisp and sharp. Comparison is depicted
in the attachment.

** Attachment added: "Font_Ubuntu_16.04+17_10.png"
   
https://bugs.launchpad.net/qt/+bug/1722508/+attachment/5007095/+files/Font_Ubuntu_16.04+17_10.png

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1722508

Title:
  Font hinting appears broken on 17.10 beta

To manage notifications about this bug go to:
https://bugs.launchpad.net/qt/+bug/1722508/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1722508] Re: Font hinting appears broken on 17.10 beta

2017-11-10 Thread Jeremy Bicha
** Also affects: qtbase-opensource-src (Ubuntu)
   Importance: Undecided
   Status: New

** Also affects: qt
   Importance: Undecided
   Status: New

** Changed in: qtbase-opensource-src (Ubuntu)
   Status: New => Confirmed

** Changed in: qtbase-opensource-src (Ubuntu)
   Importance: Undecided => High

** Changed in: qtbase-opensource-src (Ubuntu Artful)
   Status: New => Confirmed

** Changed in: qtbase-opensource-src (Ubuntu Artful)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1722508

Title:
  Font hinting appears broken on 17.10 beta

To manage notifications about this bug go to:
https://bugs.launchpad.net/qt/+bug/1722508/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1722508] Re: Font hinting appears broken on 17.10 beta

2017-11-10 Thread Woko
I had the same Problem. The monospace-font in konsole looked ugly after upgrade 
from 17.04.
Same with freetype 2.8.1.
Then I downgraded libfreetype to 2.6.3 as HorstBort mentioned, and konsole 
looks nice again.
Here the description how I managed it:

1. add 'deb http://archive.ubuntu.com/ubuntu/ zesty main restricted
universe multiverse' in '/etc/apt/sources.list'

2. create the file '/etc/apt/preferences' with the following contents:
 ---
 Package: libfreetype6:amd64
 Pin: version 2.6.3*
 Pin-Priority: 1001

 Package: *
 Pin: release v=17.04, l=Ubuntu
 Pin-Priority: -1

 Package: libfreetype6:i386
 Pin: version 2.6.3*
 Pin-Priority: 1001

 Package: *
 Pin: release v=17.04, l=Ubuntu
 Pin-Priority: -1
 ---

3. apt-get update

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1722508

Title:
  Font hinting appears broken on 17.10 beta

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/freetype/+bug/1722508/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1722508] Re: Font hinting appears broken on 17.10 beta

2017-11-06 Thread mrvanes
In my (humble) opinion the best way to solve this thinking forward, is to 
upgrade to freetype 2.8.1, plasma 5.11 and adjust font queries in kdeglobals 
and trolltecht.conf without weight specific strings as described in this bug:
https://bugreports.qt.io/browse/QTBUG-63792
It's also nice to see that trolltech is working on it!

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1722508

Title:
  Font hinting appears broken on 17.10 beta

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/freetype/+bug/1722508/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1722508] Re: Font hinting appears broken on 17.10 beta

2017-10-29 Thread mrvanes
Then, my advise would be to backport the TT hinting fix to 2.8.0 in
Artful for all those not able to use 2.8.1 from ppa? Bionic is still a
long way to go. Anyway, all is fine for me, so feel free to decide as
you see fit...

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1722508

Title:
  Font hinting appears broken on 17.10 beta

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/freetype/+bug/1722508/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1722508] Re: Font hinting appears broken on 17.10 beta

2017-10-28 Thread Jeremy Bicha
We can't update freetype to 2.8.1 in Ubuntu 17.10 because it will break
Electron apps (LP: #1728329). But Ubuntu 18.04 LTS will likely get
freetype 2.8.1 (or possibly a newer version).

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1722508

Title:
  Font hinting appears broken on 17.10 beta

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/freetype/+bug/1722508/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1722508] Re: Font hinting appears broken on 17.10 beta

2017-10-26 Thread mrvanes
No, only half of the problem was caused by libfreetype 2.8.0 (normal TT
hinting) but should indeed be updated as soon as possible in Artful, the
other part (bold/italics) is a Qt 5.9.x problem and needs some love from
Qt.

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1722508

Title:
  Font hinting appears broken on 17.10 beta

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/freetype/+bug/1722508/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1722508] Re: Font hinting appears broken on 17.10 beta

2017-10-26 Thread Denis Kalinin
Yeah, I'm not sure what progress could be made at this point. 
The way I see it, the issue was resolved in a new version of libfreetype 
(2.8.1). The only thing that is left is to propagate the fix to main Ubuntu 
repo.

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1722508

Title:
  Font hinting appears broken on 17.10 beta

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/freetype/+bug/1722508/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1722508] Re: Font hinting appears broken on 17.10 beta

2017-10-26 Thread mrvanes
In the meantime the problem has been narrowed down to QFont::toString() 
appending too much fontstyle information.
https://bugs.kde.org/show_bug.cgi?id=376630
https://bugs.kde.org/show_bug.cgi?id=378523

With Qt being alerted and kde having more issues reported I think
problem reveived more than enough attention and more important, there's
an easy work-around.

** Bug watch added: KDE Bug Tracking System #376630
   https://bugs.kde.org/show_bug.cgi?id=376630

** Bug watch added: KDE Bug Tracking System #378523
   https://bugs.kde.org/show_bug.cgi?id=378523

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1722508

Title:
  Font hinting appears broken on 17.10 beta

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/freetype/+bug/1722508/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs