[Pidgin] #1128: Font problems

Pidgin trac at pidgin.im
Sun May 20 21:27:37 EDT 2007


#1128: Font problems
---------------------------+------------------------------------------------
  Reporter:  ipxlandfwm    |       Owner:      
      Type:  defect        |      Status:  new 
  Priority:  minor         |   Milestone:      
 Component:  pidgin (gtk)  |     Version:  2.0 
Resolution:                |    Keywords:  font
   Pending:  0             |  
---------------------------+------------------------------------------------
Comment (by pymlofy):

 AOL's AIM client interprets <FONT SIZE='x'> </FONT> tags this way:


 {{{
 X   point size
 1   8
 2   10
 3   12
 4   14
 5   18
 6   24
 7   38
 }}}


 Pidgin has never scaled the font sizes correctly.  Exactly one line in
 gtkimhtml.c has to be changed to fix this.  Since the default GTK font
 size is 8 pt, that means the smallest scalar should be 1, so the array
 becomes { 1, 1.25, 1.5, 1.75, 2.25, 3, 4.75 }.  Right now font size 3 has
 a scalar of 1, so something 12 point in an AIM client becomes 8 pt on a
 default Pidgin install.

 There's also another bug where Pidgin jumps two font sizes for each press
 of the increase/decrease font size buttons (i.e. it goes 1-3-5-7, so you
 only have four sizes instead of seven).

-- 
Ticket URL: <http://developer.pidgin.im/ticket/1128#comment:1>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list