Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Desktop
User Name
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.


  Search this Thread
Old 11-30-2012, 09:49 PM   #1
LQ Newbie
Registered: May 2011
Posts: 5

Rep: Reputation: 0
Stop GTK+ display of substitute fonts in editor?

In GTK+ text editors, glyphs missing from the default font will be drawn from some other installed font that has them. How do I prevent this so that just the "missing glyph" glyph is shown?
Old 12-02-2012, 04:22 PM   #2
John VV
LQ Muse
Registered: Aug 2005
Posts: 15,913

Rep: Reputation: Disabled
ok, some unknown "text editor" is missing fonts on some unknown Operating system

set the default font in this editor to your system default

install the missing fonts
( see your package manager for that)
Old 12-15-2012, 09:44 PM   #3
LQ Newbie
Registered: May 2011
Posts: 5

Original Poster
Rep: Reputation: 0
There is no easy way to do this. Most editors built with GTK+ use GtkTextView, but there is no control over glyph substitution in that module. Within GTK+, it is Pango that handles this. You can't change the behavior with a config file, but you can use the fallback attribute to make a special build that doesn't take substitute glyphs.

At a lower level, font substitution for the whole system is managed by fontconfig, but there is no way to disable that feature in fontconfig.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
F15 gconf-editor Gtk-Message: Failed to load module "pk-gtk-module" syntax error Fedora 5 06-02-2011 03:10 PM
how to add fonts to kwrite editor FinalRebel Linux - Software 6 09-07-2009 05:50 PM
export display and Gtk-WARNING **: cannot open display: zimma Linux - Server 0 04-24-2009 03:51 AM
Nano editor just stop working FlashAsh99 Linux - Newbie 4 06-27-2005 06:54 PM
GTK+2, problems with applications that won't display fonts correctly Sm0k3 Slackware 2 09-12-2003 03:13 AM

All times are GMT -5. The time now is 01:28 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration