* font in open firmware
@ 2005-08-20 5:39 Yoshinori K. Okuji
2005-08-21 7:27 ` Yoshinori K. Okuji
2005-08-24 18:30 ` Marco Gerards
0 siblings, 2 replies; 4+ messages in thread
From: Yoshinori K. Okuji @ 2005-08-20 5:39 UTC (permalink / raw)
To: The development of GRUB 2
I have implemented a new function getcharwidth in the terminal interface. I
updated all terminals for PC but didn't ofconsole. This is only because I
don't know how it behaves precisely.
According the standard, the default font seems to be implementation-dependent.
There is an attribute "character-set", but I don't know if this is used.
So, in reality, what kind of font is used in Open Firmware? Does it only
contain US-ASCII or is it like the VGA font? For now, ofconsole does not map
any Unicode character to another character, but does this work well?
Okuji
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: font in open firmware
2005-08-20 5:39 font in open firmware Yoshinori K. Okuji
@ 2005-08-21 7:27 ` Yoshinori K. Okuji
2005-08-24 18:30 ` Marco Gerards
1 sibling, 0 replies; 4+ messages in thread
From: Yoshinori K. Okuji @ 2005-08-21 7:27 UTC (permalink / raw)
To: The development of GRUB 2
On Saturday 20 August 2005 07:39, Yoshinori K. Okuji wrote:
> I have implemented a new function getcharwidth in the terminal interface. I
> updated all terminals for PC but didn't ofconsole. This is only because I
> don't know how it behaves precisely.
>
> According the standard, the default font seems to be
> implementation-dependent. There is an attribute "character-set", but I
> don't know if this is used.
>
> So, in reality, what kind of font is used in Open Firmware? Does it only
> contain US-ASCII or is it like the VGA font? For now, ofconsole does not
> map any Unicode character to another character, but does this work well?
Now I really use getcharwidth in the menu interface. So the menu interface
will be broken until someone implements getcharwidth for ofconsole.
Okuji
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: font in open firmware
2005-08-20 5:39 font in open firmware Yoshinori K. Okuji
2005-08-21 7:27 ` Yoshinori K. Okuji
@ 2005-08-24 18:30 ` Marco Gerards
2005-08-28 13:06 ` Yoshinori K. Okuji
1 sibling, 1 reply; 4+ messages in thread
From: Marco Gerards @ 2005-08-24 18:30 UTC (permalink / raw)
To: The development of GRUB 2
"Yoshinori K. Okuji" <okuji@enbug.org> writes:
> I have implemented a new function getcharwidth in the terminal interface. I
> updated all terminals for PC but didn't ofconsole. This is only because I
> don't know how it behaves precisely.
>
> According the standard, the default font seems to be implementation-dependent.
> There is an attribute "character-set", but I don't know if this is used.
>
> So, in reality, what kind of font is used in Open Firmware? Does it only
> contain US-ASCII or is it like the VGA font? For now, ofconsole does not map
> any Unicode character to another character, but does this work well?
Can you please explain why this is important and what you mean? AFAIK
the console font on the new world apple is fixed width. On the
pegasos a text screen just like the PC is used.
I think ofconsole should map Unicode characters on the pegasos, the
menu does look very ugly here.
--
Marco
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: font in open firmware
2005-08-24 18:30 ` Marco Gerards
@ 2005-08-28 13:06 ` Yoshinori K. Okuji
0 siblings, 0 replies; 4+ messages in thread
From: Yoshinori K. Okuji @ 2005-08-28 13:06 UTC (permalink / raw)
To: The development of GRUB 2
On Wednesday 24 August 2005 20:30, Marco Gerards wrote:
> Can you please explain why this is important and what you mean? AFAIK
> the console font on the new world apple is fixed width. On the
> pegasos a text screen just like the PC is used.
Maybe this is the second time, but I talk about it.
It completely depends on the implementation of a terminal how characters are
displayed. For example, some are capable of displaying wide characters, while
others do not support them so display merely dummy characters. Or, some want
to display the border characters used in the menu interface in a single
width, while others may want to display them as two-column characters.
Even if an underlying system does not support wide characters, you can often
emulate such support by combining multiple 1-column characters on the
display. This is feasible only if a target language has a small set of
characters in comparison with the size of a font area in a firmware.
BTW, the VGA font used in standard PCs is not only ASCII characters but also
has extra characters. There is a table in the wikipedia:
http://en.wikipedia.org/wiki/CP437
Does pegasos support the same character set?
Okuji
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-08-28 13:15 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-20 5:39 font in open firmware Yoshinori K. Okuji
2005-08-21 7:27 ` Yoshinori K. Okuji
2005-08-24 18:30 ` Marco Gerards
2005-08-28 13:06 ` Yoshinori K. Okuji
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.