diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2009-01-28 17:37:41 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2009-01-28 17:37:41 +0000 |
commit | 8b9efb273c5ec82bdb0a1aff73776f3f649e7481 (patch) | |
tree | 1a40168eef8abde59c1b23bcd3eb1404caeadfb9 /usr.bin | |
parent | a83fc87b13095d2ab8b05bb05e8bff472c6f91cd (diff) |
If the rom contains a monitor table, look for an entry matching our
display resolution, and if one is found, pick the built-in font it points
to, instead of the first font from the list. If the index is wrong and the
font list is shorter, revert to the previous behaviour of using the first
ROM font.
This fixes the font discrepency on my B132L (INTERNAL_EG_1280) where PDC
would use the 10x20 font, which is third in the list, and OpenBSD would
use the 8x16 font instead.
Tested on byte- and word- roms, gsc and pci cards.
Diffstat (limited to 'usr.bin')
0 files changed, 0 insertions, 0 deletions