Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 347540 - Eclipse/GTK ignores font hinting setting
Summary: Eclipse/GTK ignores font hinting setting
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.1   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-28 06:26 EDT by Linuxhippy CLA
Modified: 2016-12-22 12:19 EST (History)
3 users (show)

See Also:


Attachments
screenshot (10.75 KB, image/png)
2011-05-28 06:26 EDT, Linuxhippy CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Linuxhippy CLA 2011-05-28 06:26:02 EDT
Build Identifier: 20110218-0911

When running eclipse on Fedora15/xfce, eclipse seems to completly ignore desktop-wide font hinting settings. 

All other applications (gtk2, gtk3, QT4, Java Swing) use rgb subpixel hinting, whereas swt/gtk2 only applies grayscale hinting.

Reproducible: Always
Comment 1 Linuxhippy CLA 2011-05-28 06:26:26 EDT
Created attachment 196825 [details]
screenshot
Comment 2 Felipe Heidrich CLA 2011-05-30 10:18:13 EDT
SWT is not doing anything special here. We draw using pango+gdk, and when advance is true, pango+cairo.
Does it look right you whan gc.setAdvance(true) before calling gc.drawText() or textLayout.draw() ?
Comment 3 Alexander Kurtakov CLA 2016-12-22 12:19:35 EST
Can't reproduce this on Fedora 25. Closing. Please reopen if still happens on recent system.