I think you are over-simplifying. You'll have to account for the encoding and showing the glyph will depend on the font installed. If, for example, you are showing a Big5 encoding, the font must be in place if the user wants to see the glyph. Providing a font just to show control characters is an overkill. Draw the characters, such as "ACK", in another color at a smaller font size.
Best Regards, Paulo Soares > -----Original Message----- > From: Matt Benson [SMTP:[EMAIL PROTECTED]] > Sent: Monday, April 08, 2002 15:58 > To: Paulo Soares; Birkelbach, Carsten; > [EMAIL PROTECTED] > Subject: RE: AW: [iText-questions] Fonts > > Well, the idea was to have three side-by-side > components in a Hex TextComponent: > > address - hex value - character (glyph) > > So if I show the hex value as planned and the control > picture for the glyph everyone should be happy. > Similar story for the charmap plugin. > > Should it be possible for me to embed a font file in a > jar for use on all platforms? Sorry if these sound > like dumb questions, but I can't even figure out how > to use the Lucida Sans unicorn fonts under my JRE. > > Sorry, Paulo, and thanks! :) > > -Matt > > --- Paulo Soares <[EMAIL PROTECTED]> wrote: > > In my opinion the best way would be to show the hex > > value in a single glyph > > space if possible, maybe show the two hex characters > > at half size. The > > characters at \x2400 are also a good option. Lucida > > Sans Unicode has the > > characters. Switching between both modes would be > > great. > > > > Best Regards, > > Paulo Soares > > > > > > > -----Original Message----- > > > From: Matt Benson [SMTP:[EMAIL PROTECTED]] > > > Sent: Monday, April 08, 2002 15:29 > > > To: Birkelbach, Carsten; Paulo Soares; > > > [EMAIL PROTECTED] > > > Subject: Re: AW: [iText-questions] Fonts > > > > > > The reason I am asking these questions is because > > I > > > have hex-editing interests. I have a Java hex > > editor > > > project on the back burner, as well as being a > > > developer on the Jext Java Text Editor project > > > (www.jext.org), which has a Character Map plugin > > > ported from JEdit. This discussion has been > > helpful, > > > especially these links among which was the Control > > > pictures glyphs table. I see in the table that > > these > > > are mapped to \u2400+ but they appear to > > correspond to > > > what I know as ASCII 00 and up. > > > > > > Hypothetically speaking, since I apparently don't > > know > > > much about fonts, only what I am accustomed to, > > what > > > would be the MOST CORRECT glyph to display in > > > representation of a linefeed, for example? A box? > > > > > The linefeed LF control picture? If these control > > > pictures would be the thing for me to use, where > > would > > > I find a font with these glyphs? > > > > > > -Matt > > > > > > > > > --- "Birkelbach, Carsten" > > > <[EMAIL PROTECTED]> wrote: > > > > > What is at \u0001 , > > > > > > > > NUL > > > > > > > > > \u0002 > > > > > > > > SOH > > > > > > > > > , etc? Nothing? > > > > > > > > see http://www.unicode.org/charts/PDF/U0000.pdf > > > > > > > > all UNICODE 3: http://www.unicode.org/charts/ > > > > > > > > > > > > > Mit freundlichem Gruß / kind regards > > > > > > > > Carsten Birkelbach > > > > --- > > > > Siemens AG > > > > Siemens Business Services GmbH & Co OHG > > > > BAP HRS 3, PDB HN > > > > Heinz-Nixdorf-Ring 1 > > > > 33106 Paderborn > > > > Deutschland > > > > Fon: +49 5251 8-25803 > > > > Fax: +49 5251 8-25209 > > > > E-mail: [EMAIL PROTECTED] > > > > > > > > > __________________________________________________ > > > Do You Yahoo!? > > > Yahoo! Tax Center - online filing with TurboTax > > > http://taxes.yahoo.com/ > > > > > > _______________________________________________ > > > iText-questions mailing list > > > [EMAIL PROTECTED] > > > > https://lists.sourceforge.net/lists/listinfo/itext-questions > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Tax Center - online filing with TurboTax > http://taxes.yahoo.com/ _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions