Support and General Use > User Interface and Voice

Default font (for virtual keyboard e.g.) too small for short-sighted

<< < (2/3) > >>

AlexP:
The system font is compiled into the code, therefore including two is a no go for many targets where the binary size is important.  I imagine the way to do it would be to selectively compile in different fonts for different targets, but AFAIK no-one is working on this.

Mmmm:
Well, here's a patch to display the current user font in the virtual keyboard. If it won't fit on your screen then it goes back to the default font.
If you want bigger fonts in the recording screen then the REP will do that.

It works but it's a hack and using different sized fonts makes for an untidy keyboard so this won't ever get committed. That's why I'm not putting it on flyspray and posting it here instead (is that ok Llorean? I'll move it to my own server if not :) )

Edit: moved to flyspray: http://www.rockbox.org/tracker/task/6405

bascule:
I don't think Flyspray is unsuitable for never-to-be-committed patches, surely?

Provided it's clearly marked as such. It will just lost on the forum.

Llorean:
Patches are best kept on Flyspray, even if they aren't to be committed. I'm not sure how never-to-be-committed user-fonts for the VKeyboard is anyway. I have no objection if a patch is here for a short time, especially if it's sharing one to help someone with a quick fix, though, but this one seems the kind that would be helpful to more people so even if it's not committable for one reason or another, it probably belongs there.

Mmmm:
Ok then, Flyspray it is.... (the link is up there in my original post)

I just remember Linus asking someone why they had put a patch on flyspray if it wasn't intended for inclusion in the main program, but that was a long long time ago and a lot has changed since.

I suppose that now it is there as an idea, it may be improved on to make it acceptable...one day.... (I think a complete rewrite of how the font system works would be the only good way though).

Actually, the way it should work IMO is that you load a virtual keyboard (which you can already do) but the font for that keyboard would be specified in the keyboard file that is loaded. That way the loaded keyboards would always look good. It would be screen dependent though, a bit like the WPSs. And, yes a complete rewrite of the font system would be necessary! :) A lot of work!

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version