Bug 3618 - (int-87719) No font fits in fullscreen mode & toolbar disabled due to 1 pixel border
(int-87719)
: No font fits in fullscreen mode & toolbar disabled due to 1 pixel border
Status: RESOLVED WONTFIX
Product: Utilities
X Terminal
: 4.1.3 (5.2008.43-7)
: All Maemo
: Low normal with 1 vote (vote)
: 5.0 (1.2009.41-10)
Assigned To: unassigned
: osso-xterm-bugs
:
: community-diablo, patch
:
:
  Show dependency tree
 
Reported: 2008-08-20 15:59 UTC by Frantisek Dufka
Modified: 2009-10-22 07:57 UTC (History)
3 users (show)

See Also:


Attachments
patch (17.13 KB, patch)
2008-08-21 15:10 UTC, Andre Klapper
Details


Note

You need to log in before you can comment on or make changes to this bug.


Description Frantisek Dufka (reporter) maemo.org 2008-08-20 15:59:58 UTC
SOFTWARE VERSION:
(Control Panel > General > About product)
4.2008.30-2

STEPS TO REPRODUCE THE PROBLEM:
install fixedsys font from http://www.fixedsysexcelsior.com/ or any font with
height of 16 pixels

EXPECTED OUTCOME:
in fullscreen you should have exactly 480/16 = 30 lines (12pt size = 16 pixels)

ACTUAL OUTCOME:
You end up with 29 lines and one empty 14 pixel line on the bottom. Same thing
happens with any other font since 480-2 = 478 = 2*239 (239 is prime number) so
no size fits nicely.

REPRODUCIBILITY:
always

EXTRA SOFTWARE INSTALLED:
bitmap font http://www.fixedsysexcelsior.com/ at 12 points

OTHER COMMENTS:

This is bug/feature of libvte, see
http://bugzilla.gnome.org/show_bug.cgi?id=471920

See also discussion
http://www.internettablettalk.com/forums/showthread.php?t=17002&page=5
or
http://lists.maemo.org/pipermail/maemo-developers/2008-August/thread.html#34534

Since Maemo uses old and patched libvte this is actually request to apply one
more patch - http://fanoush.wz.cz/maemo/vte4.border.patch
Comment 1 Andre Klapper maemo.org 2008-08-21 15:10:17 UTC
Created an attachment (id=897) [details]
patch

Also attaching the patch here, too much bad experience with down servers. :-)
Comment 2 Andre Klapper maemo.org 2009-03-24 16:35:54 UTC
I assume it's still valid in Fremantle SDK alpha that contains osso-xterm?
Unfortunately it's WONTFIX for Diablo but I'd love to help pushing this into
Fremantle if required.
Comment 3 Andre Klapper maemo.org 2009-06-08 12:35:38 UTC
> install fixedsys font from http://www.fixedsysexcelsior.com/

Where do I copy that file?
Exact steps to reproduce very welcome!
Comment 4 Frantisek Dufka (reporter) maemo.org 2009-06-08 13:29:06 UTC
(In reply to comment #3)
> > install fixedsys font from http://www.fixedsysexcelsior.com/
> 
> Where do I copy that file?

/home/user/.fonts

Just create it as ordinary user
mkdir ~/.fonts
cp FSEX300.ttf ~/.fonts

If you don't see it in osso-xterm font list, reboot device to get it refreshed.
Choose size 12 pt (12 pt should be 16 pixels) and in case it looks blurry you
may play with zoom buttons to get to 100% font size.
Comment 5 Andre Klapper maemo.org 2009-06-15 21:45:09 UTC
Ah, this only happens without the toolbar shown! Hah! :-)

Yes, reproducible in Diablo 5.2008.43-7:
1. Start X-Terminal.
2. Go to Tools > Settings.
3. Set Font to "Monospace" and set Size to 16.
4. Click OK.
5. Disable View > Show toolbar > Full screen.
6. View > Fullscreen
7. Run "ls" for a few times

In Fremantle there will be no option to disable the toolbar so there is no way
to make this happen anymore. (Note to myself: cf. int-108878)

For Diablo this is a WONTFIX as Diablo is in maintenance mode and Nokia will
only provide bugfixes for critical issues if at all.
For your interest the Mer project aims to provide a community backport of
Fremantle for N8x0 devices. See http://wiki.maemo.org/Mer for more information.

Hence closing (I think WONTFIX fits best here).
Comment 6 Lucas Maneos 2009-10-22 07:57:34 UTC
Marking patches of interest to Diablo (Maemo4) community updates, please excuse
the noise.