Plastic SCM GUI text misalignment on Ubuntu
Have you experienced that Plastic SCM GUI on Ubutnu 9.04-10.04 have
some windows with text that is misaligned, Well, it is a known Ubuntu bug that is related to the fonts mapping from
Microsoft Sans Serif to Thai font which is affecting the scaling
of the fonts. Illustrated in the figure below.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvVI4IQ2YqFEKqZvkWyD_Jf3xoBcGU9lZAdR5Nc1yYGSr45SsQe6854p9DqsmerCAa6WyUgTyBVNiFmBI3LpsHHf0vRkpwSm25APE00354Qcy44x1fkoJPsYcBIzdBw1o2ircR/s320/fig1_GUI_NOK.jpg)
To resolve the issue, you will need to edit the font configuration file
/etc/fonts/conf.avail/89-ttf-thai-tlwg-synthetic.conf
Change the <string>Loma</string> to <string>DejaVu Sans</string> as indicated in figure below.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWY7thsGJaR6lucXlF0X_Xuxd9gmC2xE_nNSqY6w2rpOxjXGnOFEfD-pGSgOizZvEh9zxyVn8xB_dWF8T4cX1Ad4Ru8c5gqKrKx3eUdFgBSOOlbKUkazz1HYkfJKcyLgW2a54q/s320/FONT_change.png)
No need to restart the Ubuntu, the fix is instant, and the results are illustrated in the figure below.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjB127o33ZAahW0WLHD3nN6ih-wdvCF-6YgavMnU8GvSr_OIPCDQXqaBynqXfo5ygHfvBCxeXH7kSCdZtd3u-6RxCB_H0Vmj_yY3UzsOSbxSx9KYoS6nhKVgkmJwmf5gjkgYhcm/s320/fig1_GUI_OK.jpg)
The issue is discussed in the following link and a fix for future Ubuntu releases seems to be encouraged.
https://bugs.launchpad.net/ubuntu/+source/thaifonts-scalable/+bug/539008
0 comentarios: