Unicode Teletext (was: Re: getting started with msi tv card)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 28 Jan 2009, Daniel Dalton wrote:
> > Maybe a full Unicode X font will include such characters> > and I can simply map them to UTF8, but I'm primarily> > interested in the text content information on my text console.> > > > Here's the pr0n...> > > >                       ???X???X*XX*???*???????           XXX*    AMI> >                       ???X??????*??? ???X?* ???          **XXXX> > > > No, this is not going to work.  There are too many characters> > which are not yet converted to something and I'm having to add
> ah, ok... I kinda get it... :-)
Actually, your `mutt' mailer has managed to convert theUTF-8 encoding which I hope you received into ASCII andsubstituted its own `?' for those block characters whichshould have appeared as correct UTF-8, though I'll need tocheck an archive.
And after quite a few too many hours, I still don't get it,and I'm going to have to ask help from the collectiveknowledge pooled here.
I've seen that the 10646 encoded fonts available usuallyhave the familiar box-drawing and related characters I'vepartly been able to use for a few of the graphics.
Unfortunately, these seem to be either based on a 2x2 setof quads, or a 3x4 array.  While the teletext graphics inuse uses a 2x3 array.
I've come upon two sets of fonts which supposedly coverthe teletext character set with a 10646 encoding.  Butthe first one, which does include the 2x3 graphics charsthat otherwise need a `fontspecific' encoding, seems tohave hijacked existing assigned unicode characters inorder to display the graphics.
That is, with this font, these characters no longer displayproperly (selection limited due to pasting from a 512-charconsole font)[◆]  U+25C6   ◆  BLACK DIAMOND[◊]  U+25CA   ◊  LOZENGEThis is matched by reading the code:const wchar_t graphutf8[128] = { // Graphic characters on an unicode terminal ISO-10646[...]        0x25A0,0x25A1,0x25A2,0x25A3,0x25A4,0x25A5,0x25A6,0x25A7, [...]        0x25B0,0x25B1,0x25B2,0x25B3,0x25B4,0x25B5,0x25B6,0x25B7, [...]        0x25C0,0x25C1,0x25C2,0x25c3,0x25C4,0x25C5,0x25C6,0x25C7, [...]0x25D8,0x25D9,0x25DA,0x25DB,0x25DC,0x25DD,0x25DE,0x25DF,};
I'm still trying to determine whether the second font has anygraphics and where they would be hidden -- even the handy[█]  U+2588   █  FULL BLOCKcharacter is missing.

Does anyone know whether the various 2x3 graphics used inteletext fonts are in fact present in Unicode?  I haven'tbeen able to convince google to give me the answer I want.I would think that with everything I do see with a unifontfont, that such widely-used characters wouldn't have beenleft out...

thanks for any pointers,barry bouwsma
_______________________________________________linux-dvb users mailing listFor V4L/DVB development, please use instead linux-media@xxxxxxxxxxxxxxxxxxxxxxxx@linuxtv.orghttp://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb


[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux