← Back to team overview

openjdk team mailing list archive

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

 

Confirmed in Netbeans on fresh install of Lucid with OpenJDK. Installing
Netbeans installs openjdk-6.

Workaround: I installed ttf-dejavu (which pulls in ttf-dejavu-extra by
dependency), and the italic fonts in Netbeans display properly after
restarting it.

** Also affects: openjdk
   Importance: Undecided
       Status: New

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

-- 
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 “openjdk-6” package in Ubuntu: New
Status in “sun-java6” package in Ubuntu: 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