GNOME Bugzilla – Bug 613778
titlebar's border get displaced in Indic locale, when titlebar in ascii text
Last modified: 2010-08-25 05:27:06 UTC
If we log in any indic or other locale having default language font metrics (ascent/descent) not matching with default ascii fonts then this problem happens say for example: log in in kn_IN (kannada) locale open any application, where titlebar text in kannada script, everything will work fine but if we open any application having titlebar text in ascii, border gets displaced, it appear as a underline in titlebar I have try to find where is problem, so i think this is happening since there is difference in fonts properties kannada locale uses default fonts Lohit Kannada, http://kojipkgs.fedoraproject.org/packages/lohit-kannada-fonts/2.4.4/3.fc13/noarch/lohit-kannada-fonts-2.4.4-3.fc13.noarch.rpm lohit kannada's ascent= 850 and descent=-702 in hhea table and default ascii fonts dejavu ascent= 1901, descent= -483 i think somehow titlebar get scaled as per default locale (kn_IN here) fonts (lohit kannada here) but border get adjusted as per ascii fonts (dejavu here), so thats why this misplacements happen
Created attachment 156951 [details] image describing problem when titlebar text in ascii
Created attachment 156952 [details] image showing things work proper when titlebar text in locale script
Created attachment 156953 [details] used for creating above images
Not a gtk problem (and I believe since fixed by changing something in metacity themes)