Help Installing new fonts

Ive looked over the wiki page regarding installing new fonts and am finding it a bit confusing. The wiki suggests creating a package and lists provides and example but I am still unsure how exactly to use it.
Lets say my font is downloaded to: ~/Desktop/font.ttf
What exactly would I edit in this code, and then what would i type to package it and then install it?
pkgname=ttf-fontname
pkgver=1.0
pkgrel=1
depends=('fontconfig' 'xorg-font-utils')
pkgdesc="custom fonts"
arch=('any')
source=(http://someurl.org/$pkgname.tar.bz2)
install=$pkgname.install
package() {
install -d "$pkgdir/usr/share/fonts/TTF"
cp -dpr --no-preserve=ownership "$srcdir/$pkgname/"*.ttf "$pkgdir/usr/share/fonts/TTF/"
Last edited by life617 (2013-11-14 17:08:37)

It doesnt say that anywhere, so i was doing it wrong.
/home/imhotep: sudo chmod 777 fonts2
/home/imhotep/fonts2/: ls -la
Bronx.ttf
PKGBUILD
ttf-Bronx.install
PKGBUILD
pkgname=ttf-Bronx
pkgver=1.0
pkgrel=1
depends=('fontconfig' 'xorg-font-utils')
pkgdesc="custom fonts"
arch=('any')
source=(Bronx.ttf)
install=$pkgname.install
package() {
install -d "$pkgdir/usr/share/fonts/TTF"
cp -dpr --no-preserve=ownership "$srcdir/$pkgname/"*.ttf "$pkgdir/usr/share/fonts/TTF/"
ttf-Bronx.Install
post_install() {
echo -n "Updating font cache... "
fc-cache -fs >/dev/null
mkfontscale /usr/share/fonts/TTF /usr/share/fonts/Type1
mkfontdir /usr/share/fonts/TTF /usr/share/fonts/Type1
echo "done"
post_upgrade() {
post_install
post_remove() {
post_install
cd ~/fonts2
makepkg> Error: Integrity checks are missing.
makepkg -m >
=> Making package: ttf-Bronx 1.01-1 (Thu Nov 14 15:50:03 EST 2013)
=> Checking runtime dependencies
=> Retriving sources ...
   ->Found Bronx.ttf
=>ERROR: Integrity checks are missing.
makepkg -g >> PKGBUILD && makepkg
zsh: permssion denied: PKGBUILD
makepkg --skipinteg
=>Making package: ttf-Bronx 1.01 (Thur Nov 14 16:01:40 EST 2013)
=>Checking runtine dependices...
=>checking build time dependencies...
=>Retrieving sources...
   ->Found Bronx.ttf
=>Warning: Skipping all source file integrity checks.
=>Extracting  sources...
=>Removing esisintg pkg/ directory ...
=>Entering fakeroot environment...
=>Starting package()...
cp: cannot stat '/home/imhotep/fonts2/src/ttf-Bronx/*.ttf': no such file or directory
=> ERROR: A failure occured in package().
     ABORTING...
Last edited by life617 (2013-11-14 22:06:11)

Similar Messages

  • Install new fonts in adobe workbench designer 10

    I wanted to have the Helvetica and MS Sans sheriff fonts to be listed in designer.  Can you please help out it guiding me How to install new fonts in adobe workbench designer 10?

    Adobe document services require access to fonts that are installed with the Font Manager Module. This module contains a number of Adobe bundled fonts installed in /usr/sap/<SID>/J<xx>/j2ee/os_libs/adssap/FontManagerService/fonts/adobe.
    Create a subdirectory called fonts below the
      /usr/sap/<SID>/SYS/global/AdobeDocumentServices/FontManagerServicedirectory  
    Create a subdirectory called customer below the fonts directory created in the previous step
    Copy your font file(s) into the customer directory
    Restart the "Document Services Font Manager" for the changes to take effect.Use Visual Admin on the Adobe Document server
      i.      Expand "Server à Services "  
    ii.      Restart the Document Services Font Manager
    Also restart the application com.adobe/AdobeDocumentServices
    Expand "Server à Services à Deploy"
    Select the "Applications" button at the bottom of the screen
    Stop and start the   com.adobe/AdobeDocumentServices application

  • Problem installing new fonts

    I am new to the iMac and I have no idea how to install new fonts.
    Can anyone advise me?
    Any help greatly appreciated.

    See Font Management in OS X.
    27" i7 iMac (Mid 2011) refurb, OS X Yo (10.10.1), Mavs, ML & SL, G4 450 MP w/10.5 & 9.2.2

  • How do I install new fonts with a Mac?I

    I am using Fireworks 8 on a Mac and can't figure out how to install new fonts.  I've added the new fonts to the Font Book, and they show up  in other applications such as Adobe Illustrator, but not Fireworks.  Does anybody have any suggestions?  Thanks!

    You must restart Fireworks after you add new fonts, as far as I know.
    Once you restart it, you should see all new installed fonts!
    Hope this helps?
    PS Hint: I think a future version of Fireworks will show fonts almost immediately after they're installed... At least, I hope so!

  • Install new font on OWA

    Our client has a request: they need a specific collection of fonts (Myriad Pro) to match their policy. So I tried to install Myriad Pro fonts from here: http://www.cufonfonts.com/en/font/492/myriad-pro, and install them on Exchange Server (our client has
    only one mail server). But when users access mail via OWA, they don't see new fonts, just the default ones.
    Is Exchange Server 2013 allow us to install new fonts for OWA?
    Thanks for your kindly help.
    Tu9a2

    Hi
    There is the ability to create a new theme in OWA 2013 - I haven't tried this myself yet but the instructions can be found here:
    http://technet.microsoft.com/en-us/library/bb201700(v=exchg.150).aspx
    Cheers, Steve
    I've already tried that, and it's nothing related to add new fonts. The only thing that OWA allow us to modify is the color of the fonts, that's all.
    So far I can't find any solution for that specific issue. So I've marked Terence Yu post as an answer. I think at the moment we have to accept that.
    Thank you all!

  • Install new fonts

    dear
    how can i install new fonts on my nokia E90. so i can read the the doc file in my mobile correctly
    thank u

    Try this
    Go to file manager and create a directory c:\system\fonts,Copy the fonts from PC windows\fonts to this directory.Else copy the files in C: of phone.Go to file phone manager and move them to system\fonts. You can see the system directory by turning on "see system directory" while you are in file manager of the phone.
    This works for communicator 9500. So should work you E90 too.
    Message Edited by babdi on 03-May-2008 11:25 AM
    If my post has helped you please click the white star on the right

  • Question: how to install new fonts in Premiere on Mac

    Someone, please tell me how to add new fonts in Adobe Premiere!
    I use MacBookPro with OS X Lion.
    As trying to add fonts reffering to the previous discussion like http://forums.adobe.com/message/2379742 ,
    I realized that it was unavailable because I cound not see "Install New Font" in "Window".
    Is there a good way to solve this problem?

    In Mac OS X, double-clicking on a font file (i.e PostScript, Font Suitcase etc.) should launch the Font Book application, that window will have a Install Font button. You may have to Quit PrP and re-open for font to be available.

  • How to install new font file in the device when deploying J2ME application?

    i would like to know how to install the new font file in the device when deploying J2ME application, side-by-side.
    Is that possible to seamlessly install the new font file with the application .jar package.
    thnx.

    No, there is no way of installing new fonts.

  • How do install new fonts from Squijoo templates

    How do I install new fonts from a Template from Squijoo??  Also I am getting an error message when I try to download templates to my laptop that file is not the right kind of file???   My desktop computer has no problem doing this.

    Installing fonts is an operating system issue:
    Google

  • Installing new fonts on PC

    Hello,
    I am new to PCs I and I can't figure out how to install a font. I unforunatly can't find the font mangement software on my machine or even if that exsists with this OS. Can anyone help me?
    Thanks in advance.

    This would be better address in the Adobe Type forum. Please let us know what OS you are running, since that can effect how you add fonts to your system.

  • Installing New Font in Jdeveloper(urgent)

    how can install a new font in jdeveloper and also in java i need for printing labels for our application, if could help, i would appreicate it.
    thanks
    email:[email protected]

    Jeff:
    Trying to index PDF files to be uploaded to IBM Content Manager OnDemand.  I work for a utility that now keeps a digital copy of customer bills, stored as PDFs.  We are moving to mid range servers to isolate for performance spikes, without service degradation. But the font files in the bills need to be recpognized by the PDF Indexer (licensed) part of the IBM product.
    So these font files need to be found by this ADOBE integrated product.  Use o fthe resource files should save us about 93% of the storage that will otherwise be necessary.
    L J Wagner

  • Font Book Will Not Install New Fonts

    I have purchased several new fonts that I need to use for an upcoming project. They are .ttf files. Whenever I try to install the fonts using Font Book, they do not install (no error messages or anything comes up) and it returns to the Font Book interface. I have restarted the app and restarted my macbook pro but I am still having the same problem. I've searched around but the only topics I could find regarding this were back in tiger. Any help?

    Font Book is not a real font manager. It is not ready for prime time and may never be. I'd clear all settings from it and simply copy the fonts in question to your /Library/Fonts folder if you intend for them to be available to all users or to your <username>/Library/Fonts folder if you want only the user <username> to have access to them. That'll work.
    If you feel that you must use a font manager, get a real font manager. Suitcase and Linotype's Font Explorer are real font managers.
    I, personally, have more than a thousand fonts installed on my system and don't use a font manager. Especially I don't use Font Book. At best it's useless. At worst, it messes things up.

  • Installed new fonts, now Chrome has weird fonts instead of Times?

    I installed some new fonts on my mac and now Google chrome has weird fonts (assumably apart of the new ones I installed) replacing the standard Times and other fonts on some occassions. I took some screen shots to demonstrate this:
    Those are the two weird fonts. I'm not sure what they actually are called. I went into chrome and switched all of the font options to Times but it didn't change anything.
    Please help because this is really quite annoying.
    Jake

    Jacob...
    Sometimes third party fonts can cause problems on a Mac especially for the browsers.
    Try troubleshooting duplicate or corrupted fonts >  Font problems and management in OS X | MacFixIt - CNET Reviews

  • How do I install new fonts on my MBA?

    I'm trying to match a font. I've found one on a free web site that's close. I have downloaded it but not sure how to install it in my system. TIA for any pointers.

    Just has a heads up, instaling third party fonts from the web can cause incompatibility issues with browsers, especially Safari.
    Did you check the FontBook located your Applications folder ?
    You might find something close to what you are looking for there.
    If you still want to try a free third party font, help here >  Using Font Book to Install and Delete Fonts

  • How to install new fonts using code in java?

    Hi,
    How to install font in a system using java, provided i know the font file's address. Is there any specific class/method available for this purpose? Copying the file to windows/font directory will work for windows, but I think it wont be generic to all operating system. So is there anyway to install a font using code?
    I also want to know how to make the font available only until my application window is open, It must be available to all other external applications like photoshop, word etc., When I close my window it must un-install automatically or be made not available to other applications. Any suggestions? Please do help! Thanks in advance...

    I have already tried the above, But the font created using input stream is available only to my application* and is not viewable in photoshop.*. I realize this. Like I said, I know of no method that will register/deregister the font with the system. You'll have to create your own method that takes the operating system into account.
    String os = System.getPropery("os.name");
    if(os.equals("Windows Vista")) {
    }else if(os.equals("Windows XP")) {
    }else if(os.equals("Windows NT")) {
    }else if(os.equals("Solaris")) {
    AIX
    Digital Unix
    FreeBSD
    HP UX
    Irix
    Linux
    Mac OS
    Mac OS X
    MPE/iX
    Netware 4.11
    OS/2
    Solaris
    Windows 2000
    Windows 95
    Windows 98
    Windows NT
    Windows Vista
    Windows XPYou'll need the standard font directory for each system. I think all the window ones are C:\Windows\Font\ . Each OS probably has its own little quark (like having several font directories or throwing different security exceptions). Undoubtly it's going to require some research and a bit of trial and error. You can probably work some magic with Runtime.exec(...) as well.
    The alternative would be to google for some libraries that offer similar functionality, or promt the user for the system's font directory and save the location of the directory in a file somewhere for future use (so the user dosen't have to specify the font directory everytime he/she starts up the application).

Maybe you are looking for

  • Report for material and their pricelist

    Hi all I want to create a report, which displays the material and their pirce, I know there is a t-coke vk13, but u know the end users......actually i want to have this pricing for only service dept, where sales org , div , pricelist type are fixed.

  • How i can dissable/remove close buttons from popup window

    We have an web application so i want to dissable/remove the close button , so please help me as soon as possible. we are using only firefox for our web application and also for private use. Thank you.

  • EMET 5.0 Pinning Rule doesn´t work

    I have installed EMET 5.0 on my Windows 7 pro system. I have configured a pinning rule for my internetbank exactly the same way as i did with EMET 4.1. But when I apply a different certificate from my bank's to test the rule nothing happens - no warn

  • System Prefs. problem. Application problems. Need advice.

    The problems I am having: 1) Mail will not open. It hangs, shows beach ball and stays that way. All you see is the menu-bar. Force quit will not work. Only hard reset. Activity Monitor shows the app sucking up 87-95% of processor. 2) System preferenc

  • MDX Query consumption in NW Gateway model - RFC Connectivity error

    Hi Gurus, As per the blog( http://scn.sap.com/community/netweaver-gateway/blog/2012/12/08/transform-sap-bw-queries-into-odata-service-generation-and-activation ) I have created odata model in SEGW transaction. I am getting Rfc connection error -( 'SQ