The default fontconfig configuration assumes fonts under /usr/X11R6.
If you haven''t installed Xorg or XFree86 there, then you probably
want to adjust it to use the fonts in /usr/openwin - to do this at
build time, simply specify these options when you run the configure script:
--with-default-fonts=/usr/openwin/lib/X11/fonts
--with-add-fonts=/usr/openwin/lib/locale
You could also just edit fonts.conf to include these lines:
<dir>/usr/openwin/lib/X11/fonts</dir>
<dir>/usr/openwin/lib/locale</dir>
-Alan Coopersmith- alan.coopersmith@sun.com
Sun Microsystems, Inc. - X Window System Engineering
Micha Shepher wrote:> Dear fontconfig.
>
> I am building gnome for solaris with the specs
> System = SunOS
> Node = wsasd154
> Release = 5.8
> KernelID = Generic_108528-13
> Machine = sun4u
> BusType = <unknown>
> Serial = <unknown>
> Users = <unknown>
> OEM# = 0
> Origin# = 1
> NumCPU = 1
>
> So far I built fontconfig, and GTK and thought everything was fine.
> Now that GTK is built, fontconfig fails to find the fonts in the system.
>
> Every app I run using GTK would now say:
>
> No fonts found; this probably means that the fontconfig
> library is not correctly configured. You may need to
> edit the fonts.conf configuration file. More information
> about fontconfig can be found in the fontconfig(3) manual
> page and on http://fontconfig.org
>
> I installed fontconfig under my /usr/local/etc/fonts branch so the my
> fonts dir includes:
>
> ls -l /usr/local/etc/fonts
> total 19
> -rw-r--r-- 1 mshepher asd 11454 Apr 2 16:40 fonts.conf
> -rw-r--r-- 1 mshepher asd 5840 Apr 2 16:40 fonts.dtd
> -rw-r--r-- 1 mshepher asd 350 Apr 2 16:40 local.conf
>
> I did not edit the configuration files, since I don''t know what to
> change.
>
> When I run fc-list I get nothing in return:
>
> 154:mshepher /usr/local/gnome/fontconfig-2.2.2/fc-list > fc-list
> 154:mshepher /usr/local/gnome/fontconfig-2.2.2/fc-list >
>
> 154:mshepher /usr/local/gnome/fontconfig-2.2.2/fc-cache > fc-cache
> 154:mshepher /usr/local/gnome/fontconfig-2.2.2/fc-cache >
>
> run-test.sh does not produce any error, but also no output.
>
> 154:mshepher /usr/local/gnome/fontconfig-2.2.2/test > sh run-test.sh
> 154:mshepher /usr/local/gnome/fontconfig-2.2.2/test >
>
> I also set the env variable
> set | grep FONT
> DEFAULT_FONT=/usr/lib/fonts/fixedwidthfonts/screen.r.12
> FONTCONFIG_FILE=/usr/local/etc/fonts/fonts.conf
>
> Nothing seems to help.
>
> Am I missing somthing?
>
>
>
>
> --
> _,._
> __.'' _)
+==========================================+
> <_,)''.-"a\ | Micha Shepher BSc
|
> /'' ( \ | CIMSolutions BV
|
> _.-----..,-'' (`"--^ |
cimsolutions@cimsolutions.nl |
> // | | 0347-368100 (fax 373777) |
> (| `; , | | ASML mailto:micha.shepher@asml.nl |
> \ ;.----/ ,/ | (+31)040-268 6487 (7D2016) |
> ) // / | |\ \ | Home m.shepher@chello.nl |
> \ \\`\ | |/ / | Tel 040-2060339 |
> \ \\ \ | |\/ | 06-23669996 |
> `" `" `"`
+==========================================+
>
>
>
>
>
Dear fontconfig.
I am building gnome for solaris with the specs
System = SunOS
Node = wsasd154
Release = 5.8
KernelID = Generic_108528-13
Machine = sun4u
BusType = <unknown>
Serial = <unknown>
Users = <unknown>
OEM# = 0
Origin# = 1
NumCPU = 1
So far I built fontconfig, and GTK and thought everything was fine.
Now that GTK is built, fontconfig fails to find the fonts in the system.
Every app I run using GTK would now say:
No fonts found; this probably means that the fontconfig
library is not correctly configured. You may need to
edit the fonts.conf configuration file. More information
about fontconfig can be found in the fontconfig(3) manual
page and on http://fontconfig.org
I installed fontconfig under my /usr/local/etc/fonts branch so the my
fonts dir includes:
ls -l /usr/local/etc/fonts
total 19
-rw-r--r-- 1 mshepher asd 11454 Apr 2 16:40 fonts.conf
-rw-r--r-- 1 mshepher asd 5840 Apr 2 16:40 fonts.dtd
-rw-r--r-- 1 mshepher asd 350 Apr 2 16:40 local.conf
I did not edit the configuration files, since I don''t know what to
change.
When I run fc-list I get nothing in return:
154:mshepher /usr/local/gnome/fontconfig-2.2.2/fc-list > fc-list
154:mshepher /usr/local/gnome/fontconfig-2.2.2/fc-list >
154:mshepher /usr/local/gnome/fontconfig-2.2.2/fc-cache > fc-cache
154:mshepher /usr/local/gnome/fontconfig-2.2.2/fc-cache >
run-test.sh does not produce any error, but also no output.
154:mshepher /usr/local/gnome/fontconfig-2.2.2/test > sh run-test.sh
154:mshepher /usr/local/gnome/fontconfig-2.2.2/test >
I also set the env variable
set | grep FONT
DEFAULT_FONT=/usr/lib/fonts/fixedwidthfonts/screen.r.12
FONTCONFIG_FILE=/usr/local/etc/fonts/fonts.conf
Nothing seems to help.
Am I missing somthing?
--
_,._
__.'' _) +==========================================+
<_,)''.-"a\ | Micha Shepher BSc
|
/'' ( \ | CIMSolutions BV |
_.-----..,-'' (`"--^ |
cimsolutions@cimsolutions.nl |
// | | 0347-368100 (fax 373777) |
(| `; , | | ASML mailto:micha.shepher@asml.nl |
\ ;.----/ ,/ | (+31)040-268 6487 (7D2016) |
) // / | |\ \ | Home m.shepher@chello.nl |
\ \\`\ | |/ / | Tel 040-2060339 |
\ \\ \ | |\/ | 06-23669996 |
`" `" `"`
+==========================================+
--
The information contained in this communication and any attachments is
confidential and may be privileged, and is for the sole use of the intended
recipient(s). Any unauthorized review, use, disclosure or distribution is
prohibited. If you are not the intended recipient, please notify the sender
immediately by replying to this message and destroy all copies of this message
and any attachments. ASML is neither liable for the proper and complete
transmission of the information contained in this communication, nor for any
delay in its receipt.