summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2009-01-28 17:37:41 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2009-01-28 17:37:41 +0000
commit8b9efb273c5ec82bdb0a1aff73776f3f649e7481 (patch)
tree1a40168eef8abde59c1b23bcd3eb1404caeadfb9 /usr.sbin
parenta83fc87b13095d2ab8b05bb05e8bff472c6f91cd (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.sbin')
0 files changed, 0 insertions, 0 deletions