After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 729126 - Gedit switches to gray-scale font anti-aliasing when the text displayed does not fit within the window.
Gedit switches to gray-scale font anti-aliasing when the text displayed does ...
Status: RESOLVED DUPLICATE of bug 715008
Product: gedit
Classification: Applications
Component: general
3.10.x
Other Linux
: Normal normal
: ---
Assigned To: Gedit maintainers
Gedit maintainers
Depends on:
Blocks:
 
 
Reported: 2014-04-28 16:27 UTC by PJSingh5000
Modified: 2014-04-28 16:48 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Before and after screenshot showing how gedit font rendering changes when text exceeds window size. (110.70 KB, image/png)
2014-04-28 16:27 UTC, PJSingh5000
Details

Description PJSingh5000 2014-04-28 16:27:17 UTC
Created attachment 275361 [details]
Before and after screenshot showing how gedit font rendering changes when text exceeds window size. 

Gedit switches to gray-scale font anti-aliasing when the text displayed does not fit within the window.

To reproduce the bug:

(1) Select the following font settings:
 Default font: Liberation Sans, 10
 Document font: Liberation Sans, 10
 Monospace font: Liberation Mono, 9
 Window title font: Liberation Sans Bold, 10
 Antialiasing: RGBA
 Hinting: Medium
 Text scaling factor: 1.00

(2) Open gedit. (Optionally, make the window a little smaller so you don't have to type so much in the next step).

(3) Type some text and notice that the font selections you made are being used. (Take a screen-shot for reference).

(4) Continue typing more text, until the text no longer fits in the gedit window's text area. The vertical overlay scroll bar will appear at the right window edge (if you have text wrap enabled).

(5) Now that the text you typed does not fit within the gedit window, notice that the text is no longer as smooth as before. (Take a screen-shot for reference).

(6) Open and zoom into the screen shot from step 3, and then open and zoom into the screen shot from step 5. Notice that the colored font hinting (or anti-aliased font edges) that appearED in the screen-shot from step 3 are no longer present in the screen-shot from step 5. The fonts in the screen-shot from step 5 have gray antialiasing / hinting.

I have attached a screen-shots depicting this situation. The left side of the screen shot shows gedit with good font antialiasing / hinting (from step 3). The left side of the screen shot shows gedit with bad font antialiasing / hinting (from step 5). I have also zoomed into the letter "A" in each respective scenario, and pasted that into the image to show how the font hinting / anti-aliasing changes when text does not fit into the gedit window.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: gedit 3.10.4-0ubuntu4
ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
Uname: Linux 3.13.0-24-generic x86_64
ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
CasperVersion: 1.340
CurrentDesktop: Unity
Date: Wed Apr 23 14:58:48 2014
ExecutablePath: /usr/bin/gedit
LiveMediaBuild: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
ProcEnviron:
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: gedit
UpgradeStatus: No upgrade log present (probably fresh install)
Comment 1 Sébastien Wilmet 2014-04-28 16:48:13 UTC

*** This bug has been marked as a duplicate of bug 715008 ***