[nc] Ubuntu Mono: Italic characters are cut off on gVim on Windows XP

Bug #868686 reported by Federico Panico
20
This bug affects 5 people
Affects Status Importance Assigned to Milestone
fonts-ubuntu (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

Using gVim on Win XP, italic characters are cut on the right when they are highlighted.

In attached screenshot, gVim highlights all characters in the same column. When moving from left to right, all italic characters in another line are cut off. After being highlighted the characters stays with missing pixels until you switch windows.

Tested with other fonts and couldn't reproduce with Consolas, Deja Vu Mono, Droid Sans Mono. This happens even when Cleartype is off.

I couldn't trigger this bug in others text editors so these are the steps to reproduce in gVim. You can download it at http://www.vim.org/download.php#pc

Included themes does not use italic characters by default so you should install solarized for gvim from https://github.com/altercation/vim-colors-solarized to make this easier to trigger

Once you have installed the app and the theme and installed Ubuntu Mono in the system, open up gVim and begin typing:

:set guifont=Ubuntu_Mono:h13
:colorscheme solarized
:set cursorcolumn

Press i to enter insert mode and type in the file:
<!doctype html>
Lorem ipsum dolor sit amet

Now you can use the toolbar or menu to save the file. Save it with a .html extension.

Press Esc to leave insert mode. Now click at the beggining of the second line.
Start pressing l (lowercase L) to start moving to the right.
Now you should notice that the characters in the first line are cut off on its right side.

Also notice that this does not happen when moving from right to left.

Revision history for this message
Federico Panico (bpm230-gmail-deactivatedaccount) wrote :
Revision history for this message
Randy Hancock (randy-hancock) wrote :

I've seen this bug on Ubuntu and Mac OS X. For me it does not happen on every letter. To reproduce type:

dd dd dd

and you should start seeing the d's look like a's (given you have your syntax file such that the d's will be shown in italics of course). The behavior might also be affected by having 'set cursorline' enabled in vim.

The Menlo font on OS X does not appear to have this issue so a comparison of the fonts may be helpful?

summary: - Ubuntu Mono: Italic characters are cut off on gVim on Windows XP
+ [nc] Ubuntu Mono: Italic characters are cut off on gVim on Windows XP
Changed in ubuntu-font-family:
status: New → Confirmed
affects: ubuntu-font-family → fonts-ubuntu (Ubuntu)
Changed in fonts-ubuntu (Ubuntu):
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.