- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: install ttf font on B.11.23
Operating System - HP-UX
1752307
Members
5147
Online
108786
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-22-2010 09:39 AM
тАО10-22-2010 09:39 AM
install ttf font on B.11.23
hello all.
i've searched the forum, but no approach seems to work, so i need to ask.
i need that an java app get able to find a nonstandard font.
i'm actyally copying the new font to
/lib/X11/fonts/ms.st/typefaces
but just do it seems to be not sufficient.
some tutorials asks me to run
mkfontdir /lib/X11/fonts/ms.st/typefaces
as root, but if i do that the fonts.dir file gets empty.
what can i do (since even install the font properly is failing) in order to correctly install those fonts? should i try another directory?
any help is welcome.
i've searched the forum, but no approach seems to work, so i need to ask.
i need that an java app get able to find a nonstandard font.
i'm actyally copying the new font to
/lib/X11/fonts/ms.st/typefaces
but just do it seems to be not sufficient.
some tutorials asks me to run
mkfontdir /lib/X11/fonts/ms.st/typefaces
as root, but if i do that the fonts.dir file gets empty.
what can i do (since even install the font properly is failing) in order to correctly install those fonts? should i try another directory?
any help is welcome.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-22-2010 05:49 PM
тАО10-22-2010 05:49 PM
Re: install ttf font on B.11.23
> [...] a nonstandard font.
Which "a nonstandard font"?
I know nothing, but what, exactly, did you
put into "/lib/X11/fonts/ms.st/typefaces"?
(Is that a new directory, or an existing
one?) Does this new file look anything like
any of the existing font files?
> [...] mkfontdir [...]
Any error messages?
> [...] should i try another directory?
Why did you choose this directory?
Which "a nonstandard font"?
I know nothing, but what, exactly, did you
put into "/lib/X11/fonts/ms.st/typefaces"?
(Is that a new directory, or an existing
one?) Does this new file look anything like
any of the existing font files?
> [...] mkfontdir [...]
Any error messages?
> [...] should i try another directory?
Why did you choose this directory?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-23-2010 06:49 AM
тАО10-23-2010 06:49 AM
Re: install ttf font on B.11.23
hi, thanks for the answer.
actually i've worked a bit on this problem,
now i'm using the /usr/lib/X11/fonts/misc directory, since that ms.st does not appear on my fontpath.
i'm also aren't using mkfontdir anymore, i'm using stmkdirs because it works.
as a test, i've copied a font called vrinda.ttf in the misc directory and then issued that command:
stmkdirs /usr/lib/X11/fonts/misc
and then it generated a new fonts.dir file, with the new font inside.
later i've executed
xset fp rehash
got and error, but on some other thread they advised to remove coments on fonts.alias files, if any, and later that got no error messages (which seems ok, i don't know) and restarted the xfs service
/sbin/init.d/xfs stop ; /sbin/init.d/xfs start
note that later that xlsfonts still unable to show me the new font.
is there any step that i'm missing?
for now since the app needing the font is an java app, i threw the font inside $JAVA_HOME/jre/lib/fonts and later that the app recogized the font instantly.
i would like to know what i'm missing, since it isn't a "system wide" solution.
actually i've worked a bit on this problem,
now i'm using the /usr/lib/X11/fonts/misc directory, since that ms.st does not appear on my fontpath.
i'm also aren't using mkfontdir anymore, i'm using stmkdirs because it works.
as a test, i've copied a font called vrinda.ttf in the misc directory and then issued that command:
stmkdirs /usr/lib/X11/fonts/misc
and then it generated a new fonts.dir file, with the new font inside.
later i've executed
xset fp rehash
got and error, but on some other thread they advised to remove coments on fonts.alias files, if any, and later that got no error messages (which seems ok, i don't know) and restarted the xfs service
/sbin/init.d/xfs stop ; /sbin/init.d/xfs start
note that later that xlsfonts still unable to show me the new font.
is there any step that i'm missing?
for now since the app needing the font is an java app, i threw the font inside $JAVA_HOME/jre/lib/fonts and later that the app recogized the font instantly.
i would like to know what i'm missing, since it isn't a "system wide" solution.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP