Font size too small to gwibber counter

Bug #759948 reported by Juan Simón
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kupfer
New
Undecided
Unassigned

Bug Description

Kupfer git version.

The font size of numbers, when I write a test to send to gwibber, is too small.
I attach one screenshot.

Revision history for this message
Juan Simón (simonbcn) wrote :
Revision history for this message
X (u78qir8a9-deactivatedaccount) wrote :

haha, yep that's too small. We'll need to compensate for different font sizes. Will be fixed after next release.

Revision history for this message
Juan Simón (simonbcn) wrote :

Please, can you fix this in git version?

Changed in kupfer:
status: New → Confirmed
Revision history for this message
X (u78qir8a9-deactivatedaccount) wrote :

> Please, can you fix this in git version?

While your bugreports are very welcome and helpful as well in both small and large issues, I would also like to remind you that a bug report is not similar to a product order.

Changed in kupfer:
status: Confirmed → New
Revision history for this message
Juan Simón (simonbcn) wrote :

I did a petition, not an order. :-/
By other side, with this error this plugin is quite difficult to use to send updates to twitter or identi.ca, for obvious reasons.

Revision history for this message
Juan Simón (simonbcn) wrote :

Could you tell me the source/s file/s that I should see to try fix this?
Thanks.

Revision history for this message
X (u78qir8a9-deactivatedaccount) wrote :

Sure, the relevant parts are all in ./kupfer/ui/browser.py

The text is rendered in the function get_glyph_pixbuf on line 72 which is called inside Interface._changed on line 1727

Revision history for this message
Juan Simón (simonbcn) wrote :

The size of this font is directly dependent of font size of Gnome?
Because yesterday I changed the gnome theme and now the font size is bigger.

Revision history for this message
X (u78qir8a9-deactivatedaccount) wrote :

No, but it depends on the size of the text entry.. there are maybe a few pixels more room for an icon inside the text entry.

Revision history for this message
Juan Simón (simonbcn) wrote :

No? You should see the screen shot I attach.
The counter text is a little bigger than before and I haven't change the font size, only the gnome theme.

Revision history for this message
X (u78qir8a9-deactivatedaccount) wrote :

but the theme changes the size of the text entry, or the internal room inside it. With more space, kupfer tries to draw a bigger icon for the character count. That's what I think happens.

Revision history for this message
X (u78qir8a9-deactivatedaccount) wrote :

There is a second effect which I think is maybe the fundamental cause of this bugreport from the beginning.. if Kupfer makes an icon that is 1 single pixel too big, then the text entry rescales it smaller before showing it. But we can only guess how big the icon should be..

Revision history for this message
Juan Simón (simonbcn) wrote :

Yes, the gnome theme changes the fonts. By this I asked #8.
In this case, it's impossible to correct this bug.
I think the font of counter should be fixed, independent of gnome theme.

Revision history for this message
X (u78qir8a9-deactivatedaccount) wrote :

It can't be fixed because it must fit into the space inside the text entry. The text entry changes size with GTK theme.

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.