Xfce Forum

Sub domains
 

You are not logged in.

#1 2014-12-08 12:34:29

pingu1807
Member
Registered: 2014-12-08
Posts: 9

[Solved] Setting fonts in xfce4

Hi
I have this problem: after installing a series of packages now the Xfce-terminal,Terminator,Tilda have all thehanged  same problem some characters like m and @ are overlapped with the following.
The  space among the chars depending from character printed, the "i" and "l" is not printed like other character.
xterm work fine , I tried to change font type in terminal  with "preferences" and the size and font change but the problem is always present.

What's fonts use terminals emulator programs ? and where can i change my conf files?

Thank
Alex

Offline

#2 2014-12-08 14:41:04

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,494

Re: [Solved] Setting fonts in xfce4

Welcome.

pingu1807 wrote:

after installing a series of packages...

This implies that everything worked okay and then changed after some package installs. Which packages were installed? You can review the /var/log/apt/history.log file to get the exact package names and history.

...now the Xfce-terminal,Terminator,Tilda have all thehanged  same problem some characters like m and @ are overlapped with the following.
The  space among the chars depending from character printed, the "i" and "l" is not printed like other character.
xterm work fine , I tried to change font type in terminal  with "preferences" and the size and font change but the problem is always present.

Which font are you using? Have a look at this thread to see if the problem is similar. There is an existing bug related to using variable-width fonts. If you use the default "Monospace" font, does it display correctly?

What's fonts use terminals emulator programs ? and where can i change my conf files?

I'm not exactly sure what you're asking here, but the xfce4-terminal configuration file is located at ~/.config/xfce4/terminal/terminalrc. You can also adjust font settings at Settings Manager >> Appearance >> Fonts tab.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2014-12-09 10:44:40

pingu1807
Member
Registered: 2014-12-08
Posts: 9

Re: [Solved] Setting fonts in xfce4

this is the packages installed :
cmake-data:all  cmake:i386  cmake-curses-gui:i386  libcairo-script-interpreter2:i386
libharfbuzz-gobject0:i386  libnet1:i386  gir1.2-gtk-2.0:i386  libatk1.0-dev:i386
libpng12-dev:i386  libfreetype6-dev:i386  libfontconfig1-dev:i386  x11proto-render-dev:all
libxrender-dev:i386  libpixman-1-dev:i386  libxcb-render0-dev:i386  libxcb-shm0-dev:i386
x11proto-xext-dev:all  libxext-dev:i386  libcairo2-dev:i386  libgdk-pixbuf2.0-dev:i386
libxft-dev:i386  libharfbuzz-dev:i386  libpango1.0-dev:i386  x11proto-xinerama-dev:all
libxinerama-dev:i386  x11proto-fixes-dev:all  libxfixes-dev:i386  libxi-dev:i386
x11proto-randr-dev:all  libxrandr-dev:i386  libxcursor-dev:i386  x11proto-composite-dev:all
libxcomposite-dev:i386  x11proto-damage-dev:all  libxdamage-dev:i386
libxml2-utils:i386  libgtk2.0-dev:i386  libnet1-dev:i386  libpcap0.8-dev:i386
libgnutlsxx27:i386

may be libgtk2.0 to be the problem?

Which font are you using? Have a look at this thread to see if the problem is similar. There is an existing bug related to using variable-width fonts. If you use the default "Monospace" font, does it display correctly?

yes i used different fonts Monospace too and different Terminal emulators (tilda Terminator ) and the problem is present in all emulator; I read already threads with tutorial how to change font in terminal and how to change general appearance fonts in Xfce4  and I tried to change with "DejaVu  Sans Mono" and the problem is still present

I'm not exactly sure what you're asking here, but the xfce4-terminal configuration file is located at ~/.config/xfce4/terminal/terminalrc. You can also adjust font settings at Settings Manager >> Appearance >> Fonts tab.

I'm not an expert of XFce4 so i don't know how understand if is a bug or configuration error due to packages's installation.
It's possible reset font configuration of Xfce4; there is a tutorial to understand the structure of configuration files?

Thanks
Alex

Offline

#4 2014-12-09 11:42:36

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,494

Re: [Solved] Setting fonts in xfce4

You installed alot of development packages. Were you or have you compiled something on your system that may have affected the fonts?

Font configuration is mainly done at the xorg level. Xfce has some ability to do some tweaking of the fonts via the utilities discussed.

To rule out a profile issue (and determine whether it is a system issue) try logging in with another account. If the problem persists, then its an issue with your system font configuration.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#5 2014-12-09 12:15:47

sixsixfive
Member
From: behind you
Registered: 2012-04-08
Posts: 579
Website

Re: [Solved] Setting fonts in xfce4

pingu1807 wrote:

this is the packages installed :
cmake-data:all  cmake:i386  cmake-curses-gui:i386  libcairo-script-interpreter2:i386
libharfbuzz-gobject0:i386  libnet1:i386  gir1.2-gtk-2.0:i386  libatk1.0-dev:i386
libpng12-dev:i386  libfreetype6-dev:i386  libfontconfig1-dev:i386  x11proto-render-dev:all
libxrender-dev:i386  libpixman-1-dev:i386  libxcb-render0-dev:i386  libxcb-shm0-dev:i386
x11proto-xext-dev:all  libxext-dev:i386  libcairo2-dev:i386  libgdk-pixbuf2.0-dev:i386
libxft-dev:i386  libharfbuzz-dev:i386  libpango1.0-dev:i386  x11proto-xinerama-dev:all
libxinerama-dev:i386  x11proto-fixes-dev:all  libxfixes-dev:i386  libxi-dev:i386
x11proto-randr-dev:all  libxrandr-dev:i386  libxcursor-dev:i386  x11proto-composite-dev:all
libxcomposite-dev:i386  x11proto-damage-dev:all  libxdamage-dev:i386
libxml2-utils:i386  libgtk2.0-dev:i386  libnet1-dev:i386  libpcap0.8-dev:i386
libgnutlsxx27:i386

may be libgtk2.0 to be the problem?


if you are on amd64,sparc... then the -dev:i386 packages are the problem, since you don't need them on an amd64 system(headers and development files are provided by native arch dev packages)  - i have also no idea how you could install those packages since they will conflict: eg freetype dev

root@debtop:/home/ssf# LANG=C aptitude install libfreetype6-dev:i386
The following NEW packages will be installed:
  libc6-dev:i386{a} libfreetype6-dev:i386{b} libpng12-dev:i386{a} 
  linux-libc-dev:i386{a} zlib1g-dev:i386{a} 
The following packages will be REMOVED:
  thunar{u} xfce4-appfinder{u} xfce4-panel{u} 
0 packages upgraded, 5 newly installed, 3 to remove and 55 not upgraded.
Need to get 5416 kB of archives. After unpacking 22.9 MB will be used.
The following packages have unmet dependencies:
 libfreetype6-dev : Conflicts: libfreetype6-dev:i386 but 2.5.2-2 is to be installed.
 libfreetype6-dev:i386 : Conflicts: libfreetype6-dev but 2.5.2-2 is installed.
The following actions will resolve these dependencies:

     Remove the following packages:
1)     libfreetype6-dev            



Accept this solution? [Y/n/q/?] 

Last edited by sixsixfive (2014-12-09 14:00:24)

Offline

#6 2014-12-09 14:37:00

pingu1807
Member
Registered: 2014-12-08
Posts: 9

Re: [Solved] Setting fonts in xfce4

To rule out a profile issue (and determine whether it is a system issue) try logging in with another account. If the problem persists, then its an issue with your system font configuration.

same situation with a new user
I try to edit ˘.fonts.conf file with this
How to set Monospace font in Xfce4

<fontconfig>
  <match target="pattern">
    <test qual="any" name="family">
      <string>monospace</string>
    </test>
    <edit name="family" mode="assign">
      <string>DejaVu Sans Mono</string>
    </edit>
  </match>
</fontconfig>

but never change

sixsixfive wrote:

if you are on amd64,sparc... then the -dev:i386 packages are the problem, since you don't need them on an amd64 system(headers and development files are provided by native arch dev packages)

this is my machine  Model name      : Intel(R) Core(TM)2 Duo CPU  P8600 2.40GHz not AMD

Offline

#7 2014-12-09 14:48:01

sixsixfive
Member
From: behind you
Registered: 2012-04-08
Posts: 579
Website

Re: [Solved] Setting fonts in xfce4

this is my machine  Model name      : Intel(R) Core(TM)2 Duo CPU  P8600 2.40GHz not AMD

open a terminal and type:

uname -r

or type

dpkg --print-architecture

as root

press enter... be surprised

-----------------

also i'm pretty sure you are on amd64, and you have probably replaced your gtk2, pango & freetype amd64 libs with i386 libs...

Offline

#8 2014-12-09 15:10:59

MountainDewManiac
Member
From: Where Mr. Bankruptcy is Prez
Registered: 2013-03-24
Posts: 1,115

Re: [Solved] Setting fonts in xfce4

Yeah, that's a 64-bit CPU. I am assuming that you would have installed a 64-bit distro, but I think it's possible to install a 32-bit one (not sure why anyone would... unless it has very little RAM?).

Regards,


Mountain Dew Maniac

How to Ask for Help <=== Click on this link

Offline

#9 2014-12-09 15:46:34

pingu1807
Member
Registered: 2014-12-08
Posts: 9

Re: [Solved] Setting fonts in xfce4

sixsixfive wrote:

also i'm pretty sure you are on amd64, and you have probably replaced your gtk2, pango & freetype amd64 libs with i386 libs...

martin@dslinux113-HP:~/postaCFD$ sudo dpkg --print-architecture
i386
martin@dslinux113-HP:~/postaCFD$ sudo uname -r
3.13.0-40-generic
MountainDewManiac wrote:

but I think it's possible to install a 32-bit one (not sure why anyone would... unless it has very little RAM?

Yes 2GB Ram

best regards.
alex

Offline

#10 2014-12-09 15:59:41

sixsixfive
Member
From: behind you
Registered: 2012-04-08
Posts: 579
Website

Re: [Solved] Setting fonts in xfce4

hm strange, so why is it printing the arch string for not foreign packages??

anyway try to reconfigure fonts:

fc-cache -fv
dpkg-reconfigure fontconfig
dpkg-reconfigure fontconfig-config

restart x

if the problem still exists try to create a new user

Last edited by sixsixfive (2014-12-09 16:04:33)

Offline

#11 2014-12-09 16:18:20

pingu1807
Member
Registered: 2014-12-08
Posts: 9

Re: [Solved] Setting fonts in xfce4

fc-cache -fv
dpkg-reconfigure fontconfig
dpkg-reconfigure fontconfig-config

None result.. same situation sad

sixsixfive wrote:

if the problem still exists try to create a new user

same result sad sad

Offline

#12 2014-12-09 17:27:57

sixsixfive
Member
From: behind you
Registered: 2012-04-08
Posts: 579
Website

Re: [Solved] Setting fonts in xfce4

hm thats weird

you could try one of those:

try to force your default dpi size to 96, xfce4-appearance-settings>fonts tab

check your /var/log/Xorg.0.log for errors

did you update freetype, pango or gtk? maybe one of those was buggy check /var/log/apt/history.log

maybe something has altered your defaulft font config so try to reinstall all font packages:

apt-get --reinstall install `dpkg --get-selections | awk '{if ($2 == "install") print $1}' | grep -e ttf -e font`

as a temporary fix and if only terminal emulators are effected you could enable bitmap fonts(eg: xterm uses the "fixed" bitmap font by default)  dpkg-reconfigure fontconfig-config and answer bitmap fonts with y

Offline

#13 2014-12-10 11:09:41

pingu1807
Member
Registered: 2014-12-08
Posts: 9

Re: [Solved] Setting fonts in xfce4

sixsixfive wrote:

try to force your default dpi size to 96, xfce4-appearance-settings>fonts tab

It's already to 96 dpi
the log  Xorg.0.log show me some Warning with fonts

[    32.384] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    32.428]    Entry deleted from font path.
[    32.428] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[    32.428]    Entry deleted from font path.
[    32.428] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[    32.428]    Entry deleted from font path.
[    32.547] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[    32.547]    Entry deleted from font path.
[    32.547] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[    32.547]    Entry deleted from font path.

did you update freetype, pango or gtk?

i've installed only this pkgs ; cmake cmake-curses-gui linux-headers-3.13.0-40-generic libpcre3-dev libpcap0.8-dev openssl libssl-dev ncurses-bin libncurses5-dev libnet6-1.3-dev libpthread-stubs0-dev zlib1g-dev libltdl-dev pango-graphite pkg-config libpango1.0-dev libatk1.0-dev libgtk2.0-dev autoconf byac

I think that pango-graphite libpango1.0-dev libatk1.0-dev libgtk2.0-dev had required some dependencies that are the cause of problem

sixsixfive wrote:

dpkg-reconfigure fontconfig-config and answer bitmap fonts with y

Done but command do not ask me nothing.

Offline

#14 2014-12-10 11:31:08

pingu1807
Member
Registered: 2014-12-08
Posts: 9

Re: [Solved] Setting fonts in xfce4

a strange thing; i created a new user and the panel created is different ; when i click on mice at corner left the window is now composed by two window
at right the correct menu with application, at left there is a series of application ( Web browser teminal ect) before application name there is a strange char
___
|20|    Like this ( sorry is awful but i don't undestand how to carry imgs )
|0E|
-----

Thank alex

Offline

#15 2014-12-10 13:57:36

pingu1807
Member
Registered: 2014-12-08
Posts: 9

Re: [Solved] Setting fonts in xfce4

...resolved...

sudo apt-get purge  pango-graphite

removing pango-graphite has cut out the problem

Thanks to sixsixfive for kidness.

best regards
alex

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.010 seconds, 7 queries executed - Memory usage: 620.47 KiB (Peak: 653.31 KiB) ]