[SOLVED] Install new Font HelveticaNeue-LightExt for ghostscript
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Install new Font HelveticaNeue-LightExt for ghostscript
I am converting pdf to JPEG using ghost script,but somehow it failed.
When I executed below command ,I came to know that it is problem of non availability of Font.
/# gs -dBATCH -dNOPAUSE -sDEVICE=nullpage test.pdf
GPL Ghostscript 8.63 (2008-08-01)
Copyright (C) 2008 Artifex Software, Inc. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Processing pages 1 through 3.
Page 1
Can't find (or can't open) font file /usr/share/ghostscript/8.63/Resource/Font/HelveticaNeue-LightExt.
Can't find (or can't open) font file HelveticaNeue-LightExt.
Querying operating system for font files...
Can't find (or can't open) font file /usr/share/ghostscript/8.63/Resource/Font/HelveticaNeue-LightExt.
Can't find (or can't open) font file HelveticaNeue-LightExt.
Didn't find this font on the system!
Substituting font Helvetica for HelveticaNeue-LightExt.
Loading NimbusSanL-Regu font from /var/lib/defoma/gs.d/dirs/fonts/n019003l.pfb... 2647800 1276882 5842040 4535895 3 done.
Error: /rangecheck in --run--
Operand stack:
--nostringval-- --dict:7/16(L)-- --dict:13/15(ro)(L)-- 87 W -string-
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1905 1 3 %oparray_pop 1904 1 3 %oparray_pop 1888 1 3 %oparray_pop --nostringval-- --nostringval-- 2 1 3 --nostringval-- %for_pos_int_continue --nostringval-- --nostringval-- --nostringval-- --nostringval-- %array_continue --nostringval-- false 1 %stopped_push --nostringval-- %loop_continue --nostringval-- %finish_show --nostringval-- --nostringval-- 8 9 2 --nostringval-- (gs_show_enum) %op_show_continue
Dictionary stack:
--dict:1149/1684(ro)(G)-- --dict:1/20(G)-- --dict:75/200(L)-- --dict:75/200(L)-- --dict:106/127(ro)(G)-- --dict:275/300(ro)(G)-- --dict:22/25(L)-- --dict:4/6(L)-- --dict:27/40(L)--
Current allocation mode is local
GPL Ghostscript 8.63: Unrecoverable error, exit code 1
I googled a lot ,everyone specifies one path for fonts
------------------------------------------------------------
cd /usr/share/ghostscript/8.63/Resource/Font/
I have only 2 files in it,there are no any other font.
they are Dingbats and StandardSymL
I found fonts in :
------------------------
# cd /var/lib/defoma/gs.d/dirs/fonts
root@test:/var/lib/defoma/gs.d/dirs/fonts# ls
CIDFnmap DejaVuSansMono-BoldOblique.ttf FAPIfontmap Malige-t.ttf b018012l.pfb dotum.ttf lohit_ta.ttf n021003l.pfb p052024l.pfb
DejaVuSans-Bold.ttf DejaVuSansMono-Oblique.ttf Fontmap
Can anyone help me know how do I install new font and make it available for ghostscript.
I am using Linux.
Do I just need to copy paste .ttf file???
I just tried the following :
--------------------------------
Added HelveticaNeue_Lt.ttf in /var/lib/defoma/gs.d/dirs/fonts directory
and added entry into Fontmap:
#> gs -dBATCH -dNOPAUSE -sDEVICE=nullpage test.pdf
GPL Ghostscript 8.63 (2008-08-01)
Copyright (C) 2008 Artifex Software, Inc. All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
Processing pages 1 through 3.
Page 1
Loading HelveticaNeue-LightExt font from HelveticaNeue_Lt.ttf... 2570848 1045255 5740008 4408571 3 done.
Using HelveticaNeueLight font for HelveticaNeue-LightExt.
Error: /typecheck in --run--
Operand stack:
--nostringval-- --dict:7/16(L)-- --dict:13/15(ro)(L)-- 87 W 58
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push 1905 1 3 %oparray_pop 1904 1 3 %oparray_pop 1888 1 3 %oparray_pop --nostringval-- --nostringval-- 2 1 3 --nostringval-- %for_pos_int_continue --nostringval-- --nostringval-- --nostringval-- --nostringval-- %array_continue --nostringval-- false 1 %stopped_push --nostringval-- %loop_continue --nostringval-- %finish_show --nostringval-- --nostringval-- 8 9 2 --nostringval-- (gs_show_enum) %op_show_continue
Dictionary stack:
--dict:1149/1684(ro)(G)-- --dict:1/20(G)-- --dict:75/200(L)-- --dict:75/200(L)-- --dict:106/127(ro)(G)-- --dict:275/300(ro)(G)-- --dict:22/25(L)-- --dict:4/6(L)-- --dict:27/40(L)--
Current allocation mode is local
GPL Ghostscript 8.63: Unrecoverable error, exit code 1
Linux is NOT the operating system it is the hardware/software kernel
linux is the bit of code that sits between the OPERATING SYSTEM and the hardware
some os's use "yum"
some os's use "apt-get"
some are RPM based
some are DEB based
some are in the redhat family of OS's
some are in the Debian family of OS's
when you boot
WHAT is the NAME on the boot screen
also have you used google?
google "HelveticaNeue-LightExt" and that returns a LOT of info
7 of the top 10 are FONT web sites , where you can get it
for installing to ONLY your normal user ( you) copy/past it to /home/YourYserName/.font
it is a hidden "dot" folder
Linux is NOT the operating system it is the hardware/software kernel
linux is the bit of code that sits between the OPERATING SYSTEM and the hardware
Sorry, that I have to correct you and go a bit off topic, but Linux IS the operating system. The operating system IS the "bit of code" that sits between the hardware and the user space.
What you mean is the Linux distribution. OpenSUSE, Fedora, Gentoo, Arch Linux etc. are the distributions, not the operating systems. Linux distributions are just collections of software put together and around the Linux kernel, so that the user can easily install the "operating system" and get a computer up and running easily with all of the user applications like web browsers, e-mail clients, office suites etc. This includes different package managers.
See also: https://en.wikipedia.org/wiki/Operating_system
Even if this article isn't completely correct, too, since in the strict sense the operating system is not GNU/Linux, but Linux. GNU is "just" a set of essential user space tools without which the operating system (Linux) wouldn't be very usable. So in a not so strict sense you could call GNU/Linux an operating system, too, to honour the importance and the work of GNU.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.