- Status Closed
- Percent Complete
- Task Type Bugs
- Category User Interface
- Assigned To No-one
- Operating System Iriver H300 series
- Severity Very Low
- Priority Very Low
- Reported Version
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
FS#6220 - Keyboard: max. glyph width doesn't get reset when using custom .kbd and changing font
Description:
When using a custom layout for the virtual keyboard via a .kbd file and change to a font that is narrower than the previous font, the width of the grid in the keyboard is still that which was used for the previous font. Only after a reboot the width is adjusted to the new font. When changing to a wider font the grid gets calculated correctly.
Reproduction (on H300):
Load the font nimbus12, load a .kbd file, enter the virtual keyboard, now 18 glyphs fit on each line. Then load the font courB14 and enter the keyboard, now 15 glyphs fit on each line. When you now load the nimbus12 font again and enter the virtual keyboard the number of glyphs that fit on each line is still 15 instead of 18.
Possible fix:
in apps/recorder/keyboard.c insert the line “param[l].font_w = 0;” before the maximum glyph width gets calculated in line 329. This fixes the problem, but I don’t know if it has any bad side effects.
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task