[SLUG] Font problem solved !

2003-09-23 Thread Adam Bogacki
Thanks Nick, or Mykolaj, or whoever wrote that piece on fonts.
I downloaded and installed 'ucs' fonts, as well as most of the
ones listed in your  list. I added the
'ucs' directory to the XF86Config-4 at the top, as suggested,
and discovered how to have a Polish lang. environment
in a xterm - and solved the original font problem.
GNUCash still won't work, but it is not a font problem
this time. Instead ...
ERROR: In procedure primitive-load-path:
ERROR: Unable to find file "ice-9/boot-9.scm" in load path


... which means nothing to me. "ice-9/boot-9.scm" exists in
/home and /usr but the problem seems to be with the load path.
BTW, are you the same Nick Croft I worked with at TARU in Sydney
some time ago ? And a big thanks to Mykolaj !
Dziekuje,

Adam
[EMAIL PROTECTED]
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Font problem

2003-09-18 Thread Angus Lees
At 15 Sep 2003 12:49:10 +1000, Peter Hardy wrote:
> On Mon, 2003-09-15 at 12:28, Adam Bogacki wrote:
> Of course, if they are installed, then you've got bigger problems that
> I'd rather not think about unless they're actually happening. :-)

An easy way to see what fonts the XServer knows about is to run
"xfontsel"  (or "xlsfonts" for simple "dump complete list to stdout" tasks)

Of course, client-side font rendering is entirely up to the client.
GNOME and KDE now use "fontconfig" to find them; supposedly you can
use "fc-list" from the command line, but I've found that mostly
useless.

-- 
 - Gus
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Font problem

2003-09-16 Thread Nick Croft
* Adam Bogacki ([EMAIL PROTECTED]) wrote:
> 
>  (Missing character set "ISO8859-1")
> Warning: gnucash_style_set_register...(): Cannot load font: 
> -adobe-helvetica-medium-r-normal--*-120-*-*-*-*-*-*
> 
> I'd also like to load ISO8859-1 font to give me Polish accents ...
> 
Hey Adam,

1) Get more fonts. My dpkg --get-selections shows

  xfonts-100dpi  install
  xfonts-75dpi   install
  xfonts-75dpi-transcoded  install
  xfonts-a12k12  install
  xfonts-artwiz  install
  xfonts-base install
  xfonts-cjk  deinstall
  xfonts-cmex-big5p  install
  xfonts-cyrillic   install
  xfonts-efont-unicode  install
  xfonts-gimpers deinstall
  xfonts-greek-ph-75dpiinstall
  xfonts-greek-ph-scalable install
  xfonts-intl-arabicinstall
  xfonts-intl-european  install
  xfonts-intl-phonetic  install
  xfonts-pex  install
  xfonts-scalable   install
  xfonts-terminus   install
  xfs-xtt install

2) the 'ucs' package (not debian) adds many of the extra glyphs needed for
European and other languages to the fixed font. 

Ucs can be obtained from http://www.cl.cam.ac.uk/~mgk25/ucs-fonts.html, and if
you run one of the included scripts will break down the huge unicode fixed font
into separate encodings, which is helpful if you want to read or write in just
part of the total set.

3) Add the ucs font directory to your XF86Config-4 as in:-

Section "Files"
   RgbPath  "/usr/X11R6/lib/X11/rgb"
   FontPath "/usr/X11R6/lib/X11/fonts/ucs/"
   FontPath "/usr/X11R6/lib/X11/fonts/misc/"
   FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
   FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
   FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
   FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
   FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
   FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"

I've put the ucs directory where the other fonts are 
in /usr/X11R6/lib/X11/fonts, but put the directory at the top of the files section so 
that 
its version on the fonts is selected first by the font server.  

4) Run 'sudo dpkg-reconfigure locales' and add locales like en_AU-UTF-8 or
en_US-UTF8 as well as pl_PL and pl_PL-UTF8. You probably have en_AU or en_US at
the moment as your locale.  (Check with 'locale'). You may well wish to keep it
that way, but when you write in Polish you could start an xterm (or better,
uxterm) and type 'LANG=pl_PL' to get a Polish environment just in that
terminal.

This set-up works OK for me, with one minor glitch. Realplayer doesn't like the
helvetica font which ucs provides. So to start up rvplayer, I get rid of the
ucs fonts by temporarily blocking them out with 'xset -fp
/usr/X11R6/lib/X11/fonts/ucs'. Start rvplayer and then restore the ucs
directory by reissuing the command with a plus sign '+fp'.

I think that's more to do with Realplayer being non-free and RH-centric, rather
that with the actual font set-up I have. 

Czesc,

Mykolaj (accents omitted).
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Font problem

2003-09-14 Thread Peter Hardy
On Mon, 2003-09-15 at 12:28, Adam Bogacki wrote:
> Hi, trying to start gnucash gives me
> 
> [EMAIL PROTECTED]:~$ gnucash
> The font "-adobe-helvetica-medium-r-normal--*-120-*-*-*-*-*-*" does not 
> support all the required character sets for the current locale 
> "LC_CTYPE=en_US;LC_NUMERIC=C;LC_TIME=C;LC_COLLATE=C;LC_MONETARY=C;LC_MESSAGES=C;LC_PAPER=C;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=C;LC_IDENTIFICATION=C"
>   (Missing character set "ISO8859-1")
>   (Missing character set "ISO8859-1")
> Warning: gnucash_style_set_register...(): Cannot load font: 
> -adobe-helvetica-medium-r-normal--*-120-*-*-*-*-*-*

This could be solved by editing the default font used in your gtkrc. 
Best place to start looking is your ~/.gtkrc, which will probably just
include the gtkrc for the theme you're using.  Or make sure you've got
the right fonts installed - keep reading.

> Similarly, trying xvidtune gives me
> 
> Tux:~# xvidtune
> Vendor: , Model:
> Num hsync: 1, Num vsync: 1
> hsync range 0:  31.00 -  70.00
> vsync range 0:  55.00 - 120.00
> Warning: Unable to load any usable ISO8859 font
> Segmentation fault
> 
> I'd also like to load ISO8859-1 font to give me Polish accents ...

Not 100% sure about this one, but I wouldn't be surprised if it's trying
to use the "fixed" font (which is the default font when all else fails),
which is most likely aliased to a core font that you don't have
installed.  If that's the case, you can probably go futzing with, for
example, /usr/lib/X11/fonts/misc/fonts.alias to set fixed up as an alias
to something you do actually have on your machine.  Or once again, make
sure you've got some base font packages installed. :-)

You're using debian, right?  You should make sure xfonts-base is
installed, and one of either xfonts-75dpi or xfonts-100dpi.  They're the
minimal set of fonts the XFree86 guys suggest for a basic X setup. 
Install them, run "xset fp rehash" or restart your X session.

Of course, if they are installed, then you've got bigger problems that
I'd rather not think about unless they're actually happening. :-)

-- 
Pete

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


[SLUG] Font problem

2003-09-14 Thread Adam Bogacki
Hi, trying to start gnucash gives me

[EMAIL PROTECTED]:~$ gnucash
The font "-adobe-helvetica-medium-r-normal--*-120-*-*-*-*-*-*" does not 
support all the required character sets for the current locale 
"LC_CTYPE=en_US;LC_NUMERIC=C;LC_TIME=C;LC_COLLATE=C;LC_MONETARY=C;LC_MESSAGES=C;LC_PAPER=C;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=C;LC_IDENTIFICATION=C"
 (Missing character set "ISO8859-1")
 (Missing character set "ISO8859-1")
Warning: gnucash_style_set_register...(): Cannot load font: 
-adobe-helvetica-medium-r-normal--*-120-*-*-*-*-*-*

Similarly, trying xvidtune gives me

Tux:~# xvidtune
Vendor: , Model:
Num hsync: 1, Num vsync: 1
hsync range 0:  31.00 -  70.00
vsync range 0:  55.00 - 120.00
Warning: Unable to load any usable ISO8859 font
Segmentation fault
I'd also like to load ISO8859-1 font to give me Polish accents ...

Googling around has not been productive, but I might have been looking
in the wrong place. It was often referred to as an 'old' problem. Any 
ideas ?

Adam Bogacki,
[EMAIL PROTECTED]
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug