← Back to team overview

openjdk team mailing list archive

[Bug 569396] Re: Monospace italic font is not monospace in java (regression)

 

The fact that installing ttf-dejavu works around the problem shows that
some of the fallback fonts lead to the selection of the non mono font.
So there is some fontconfig information wrong (and it shows up with both
openjdk-6 and usn-java6).

The other issue is that we should maybe update the fontconfig.properties
not to use DejaVu anymore, but the default font (which is?)


** Also affects: fontconfig (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: fontconfig (Ubuntu Maverick)
   Importance: Undecided
       Status: New

** Also affects: openjdk-6 (Ubuntu Maverick)
   Importance: Medium
       Status: Confirmed

** Also affects: sun-java6 (Ubuntu Maverick)
   Importance: Undecided
       Status: Confirmed

** Also affects: fontconfig (Ubuntu Lucid)
   Importance: Undecided
       Status: New

** Also affects: openjdk-6 (Ubuntu Lucid)
   Importance: Undecided
       Status: New

** Also affects: sun-java6 (Ubuntu Lucid)
   Importance: Undecided
       Status: New

** Changed in: openjdk-6 (Ubuntu Lucid)
       Status: New => Confirmed

** Changed in: fontconfig (Ubuntu Lucid)
    Milestone: None => lucid-updates

** Changed in: openjdk-6 (Ubuntu Lucid)
    Milestone: None => lucid-updates

** Changed in: fontconfig (Ubuntu Maverick)
    Milestone: None => ubuntu-10.10-beta

** Changed in: openjdk-6 (Ubuntu Maverick)
    Milestone: None => ubuntu-10.10-beta

-- 
Monospace italic font is not monospace in java (regression)
https://bugs.launchpad.net/bugs/569396
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in ubuntu.

Status in OpenJDK: New
Status in “fontconfig” package in Ubuntu: New
Status in “openjdk-6” package in Ubuntu: Confirmed
Status in “sun-java6” package in Ubuntu: Confirmed
Status in “fontconfig” source package in Lucid: New
Status in “openjdk-6” source package in Lucid: Confirmed
Status in “sun-java6” source package in Lucid: New
Status in “fontconfig” source package in Maverick: New
Status in “openjdk-6” source package in Maverick: Confirmed
Status in “sun-java6” source package in Maverick: Confirmed

Bug description:
Binary package hint: fontconfig

First noticed in IntelliJ IDEA (java IDE): All italic text in editor is non-monospace in ubuntu 10.04. It has always been monospace in all previous versions of ubuntu.

Can be reproduced in JEdit too:
1. Open/Create any.sh file
2. Type in two lines:
_miii
#miii
3. Go to "Utilities-> Quick Settings -> Edit syntax style of token under caret" and select italic (so comments will be shown italic).

Result: Width of two lines is different, non-monospace font is used.
Expected: Comments are italic but still monospace.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: fontconfig 2.8.0-2ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic-pae 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic-pae i686
Architecture: i386
Date: Sat Apr 24 13:39:27 2010
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
ProcEnviron:
 LC_TIME=de_DE.UTF-8
 LANG=en_US.utf8
 SHELL=/bin/bash
 LC_MEASUREMENT=de_DE.UTF-8
 LC_PAPER=de_DE.UTF-8
SourcePackage: fontconfig