[Pidgin] #5030: Unable to select/properly use fonts without a "Normal" style for outbound message formatting
Pidgin
trac at pidgin.im
Sun Mar 2 23:30:50 EST 2008
#5030: Unable to select/properly use fonts without a "Normal" style for outbound
message formatting
-------------------------------------------------------------------+--------
Reporter: noah.richards | Type: defect
Status: new | Priority: minor
Component: pidgin (gtk) | Version: 2.3.1
Keywords: style, font, typeface, monotype corsiva, normal style | Pending: 0
-------------------------------------------------------------------+--------
In 2.3.1 and 2.4.0 (at least), I have observed the following behavior (on
XP SP2, Vista, and Ubuntu 7.10):
If you try to pick a font for default formatting or in a conversation
window that has no default style (e.g. "Monotype Corsiva", which only has
an "Italic" style), pidgin does not set the font correctly.
If you look at prefs.xml after the switch, you will notice the font (in
the "Monotype Corsiva" case) was set to "Monotype Corsiva Italic" (which
is '''not''' the name of the font). Changing the name to only "Monotype
Corsiva" in prefs.xml causes the correct font to be used.
However, once Monotype Corsiva is selected, I still see the following:
1) If Italic is not selected, when pidgin sends out a message, the last
character will be clipped slightly (on Vista, XP, and Ubuntu).[[BR]]
2) Selecting Bold has no visible effect locally, but the receiver of a
message will see the font correctly bolded (Vista and XP only).
A quick repro:[[BR]]
1) Go to Tools->Preferences.
2) Click the Conversations tab[[BR]]
3) In the Default Formatting area, select the Font Face picker.[[BR]]
4) Choose a font that has no "Normal" style (such as Monotype
Corsiva)**.[[BR]]
5) Note that the font you picked will not show up correctly.[[BR]]
6) Look at prefs.xml and notice that the name of the font is set to the
font name + the style it picked (in Monotype Corsiva, "Monotype Corsiva
Italic"; in Andy, "Andy Bold").[[BR]]
7) Remove the extraneous style from the name of the font, replacing it
with just the font name, restart pidgin, and notice that the font is now
correct.
**For reference, the way I found fonts like this (besides the one I was
originally trying to use) was by using the "Font" picker in the
Conversations tab (for picking the local conversation font), which shows
the name of the typeface, the style of typeface, and the font size. Some
examples of fonts without "Normal" styles (on XP, at least) are: Andy,
Berlin Sans FB Demi, Bodoni MT Black, and Bookman Old Style (there are
many more).
--
Ticket URL: <http://developer.pidgin.im/ticket/5030>
Pidgin <http://pidgin.im>
Pidgin
More information about the Tracker
mailing list