Στις 27/Ιούν/2005, ημέρα Δευτέρα και ώρα 16:38, ο/η [EMAIL PROTECTED] έγραψε: > Simos Xenitellis wrote: > > Στις 27/Ιούν/2005, ημέρα Δευτέρα και ώρα 14:33, ο/η [EMAIL PROTECTED] > > έγραψε: > > > >>On my fedora core 3 gnome desktop, > >>I get a weird representation for U+FFFD. > >>Here's what it looks like for you [�]. > >> > >>It's the "REPLACEMENT CHARACTER", and according > >>to the following should be question mark enclosed > >>in a solid diamond: http://www.unicode.org/charts/PDF/UFFF0.pdf > >>I've been told that this is also the representation > >>on windows and OSX. > >> > >>However I'm getting a weird comma like thing, which > >>Markus Kuhn _has_ made reference to here I think: > >>http://www.w3.org/2001/06/utf-8-wrong/UTF-8-test.html > >>In the gnome charmap applet it seems to be the nimbus > >>and schoolbook (sans and serif) fallback fonts that have > >>this weird representation. The (Misc) Fixed fonts > >>do have the question mark as expected. > >> > >>So why this weird representation? > >>I'm writing an app where I would like to display > >>characters that are invalid in the current encoding, > >>and the comma like thing it totally confusing for users. > > > > > > Hi, > > On my system (FC2), gucharmap says it's FreeSans. > > Doesn't FC3 have FreeSans/FreeSerif/FreeMono? > > Right so bitstream-vera doesn't even have the FFFD char, > and the fallback nimbus has this weird comma like thing. > > I don't think freefont is part of fedora. > I installed FreeSans manually and it has a > beautiful question mark respresentation as described above. > But that's not going to work for my app unless I > install a font with it, but I really don't want to > start that messing.
FC4 contains these packages: ftp://ftp.mirror.ac.uk/sites/fedora.redhat.com/4/i386/os/Fedora/RPMS/ I did not see FreeFont. > > Ubuntu and other distributions come with "freefont" by default, covering > > a good range of the Unicode space. > > If FC4 does not install by default freefont, you should file a bug > > report. > > Right, I'mm cc'ing fedora-devel as I've found no bugs > mentioning dejavu or freefont etc. > Extending bitstream was mentioned in this thread: > http://www.redhat.com/archives/fedora-devel-list/2003-December/msg00830.html Dejavu is an offshoot of Bitstream Vera, covering much more glyphs from the Unicode space. See http://dejavu.sourceforge.net/ and also check the Roadmap. To extend "Bitstream Vera" *and* keep the name you need to contact the author, and ask permission for this. It's better to talk to the GNOME Foundation first rather than directly to the author. > Perhaps making freefont the default might be a better approach? > > What do people think? "fontconfig" can be configured to pick and choose glyphs from the available fonts. For example, it can pick Latin from Bitstream Vera Sans but Greek from FreeSans. See /etc/fonts/fonts.conf for more. fontconfig resides on freedesktop, at http://www.fontconfig.org/ It is important for Linux distributions to come with a default set of fonts that cover much of Unicode. If you have your own font and you want to make it available as free (as in speech), you need to talk to each distro to add. You need to convince the distros that the new fonts are of high quality and there are no license problems. Debian appears to be a good clearing house for the second part, so available fonts can be found at http://distro.ibiblio.org/pub/linux/distributions/debian/pool/main/t/ (see packages that start with "ttf-*"). Making a font available as free is not an easy task. The lazy solution is to dump a copy of the GPL with your font package (they say that you have trouble to embed the font in PDF/etc documents this way..) or much better copy the procedure shown on http://www.gnome.org/fonts/ For good coverage of exotic glyphs, it would be to have a free font similar to CODE2001 by James Kass (http://home.att.net/~jameskass/). :) Simos -- Linux-UTF8: i18n of Linux on all levels Archive: http://mail.nl.linux.org/linux-utf8/
