Installing .OTF fonts - and Latex/Xetex?

I want to install some OTF fonts - specifically the Garamond Premier Pro font family that comes with Adobe Font Folio Education Essentials.
What I did was placing the files into .fonts/ and running fc-cache -vf.
Apparently, I can use the fonts now, and specifying a \setromanfont[Mapping=tex-text]{Garamond Premier Pro} compiles fine running xelatex... I am just not sure if the font is actually properly displayed.
I found some stuff on this board, but it wasn't too helpful.
My question is: Is the installation routine I applied sufficient or do I have to take care of anything else in order to properly install the fonts for use with Latex/Xetex?

For the two things that I suggested:
localfontsdir is on line #58.
berryname starts on line #138. Add the following line to the middle of the list somewhere. I'm not 100% sure that 'pad' is the correct berryname, but it's the closest that I found and it works:
'Garamond Premier Pro' : 'pad',
I did run this as root. The first time that I did this, I couldn't figure out how to do it as a regular user. I found other references to running it as root, and I figured that since it's from CTAN now, it's going to be malware free.
When you run the script, run it in the directory with the GPP fonts and wildcard it. ./otfinst *.otf
By the way, XeTeX will just find them if your system can find them. But XeTeX doesn't do microtype, so I went back to LaTeX.
Last edited by skottish (2008-11-20 19:53:37)

Similar Messages

  • How can i install Myanmar font and keyboard in iPad2 and iPhone 4s.  I'm very very disappointed that i can't read and type Myanmar Font in iPad and iPhone without jailbreak.  I would appreciate it very much if you could update your os.

    How can i install Myanmar font and Keyboard in iPad2 and iPhone 4s.  I'm very disappointed that i can't read Myanmar font without jailbreak.

    You cannot install fonts or other keyboards on the iPad. You can make suggestions to Apple here.
    http://www.apple.com/feedback/ipad.html

  • How To Install Urdu Fonts and Use in Form

    How to work with urdu fonts and use in form ...

    Do you have a problem with it or are you looking for a guide?
    If the latter is the case you should probably take a look at Note 314074.1. It talks about character sets in Forms. You can use UTF-8 in Forms and in the database. I assume urdu characters are in utf-8?
    There was a problem with urdu in win2k some time back. Is that what you are using?

  • How to install courier font and where to find it?

    Where do I go to find and install the courier dfont? Running  lion 10.8.2

    Hi,
    These are the standard installed fonts that came with Mountain Lion.
    http://support.apple.com/kb/ht5379
    Ore try this ...
    http://support.apple.com/kb/PH10878
    Ore just download it again from the internet ... (I don't know if the Courier Font is protected copy right ©)
    Dimaxum

  • Otf fonts not being recognised any more

    Hi
    I have the problem that all opentype fonts are not being recognised any more. I am not sure if it started with kde 4.2.2 or the latest freetype update. All I see is the icon for an openoffice template but no other options.
    Does anyone know how to repair this?
    David

    All otf-fonts are not recognised as fonts as if the mime-type is missing (which it isn't). I can use them and force kfontview or kfontinst to open them. MinionPro shouldn't have a license problem. And for example in systemsettings I can select installed otf fonts like Minion or Myriad. Before, everything was fine no matter which font. I can't confirm any general linux problem with fonts. 
    @Evanlec: Yes it is really annoying that openoffice can't use them. I think it can use ttf based otf fonts. Luckily I use Latex almost exclusively so that it doesn't matter so much. For designers I would recommend scribus and inkscape anyway.

  • Installing a font problem

    Hi,
    I searched for how to install a font and found a code sample which I tried to implement but it does not work.  The problem is that when I hit the SendMessage line - it just hangs and never returns.  Here is the code:
    If Not FontExists("Brush Script MT") Then
    Dim Ret As Integer
    Dim Res As Integer
    Dim FontPath As String
    Dim Path As String = My.Application.Info.DirectoryPath
    Dim WinFontPath As String
    WinFontPath = Environment.GetEnvironmentVariable("windir") & "\fonts\BRUSHSCI.TTF"
    FontPath = Path & "\" & "BRUSHSCI.TTF"
    Dim fi As New System.IO.FileInfo(FontPath)
    If Not fi.Exists Then
    Exit Sub
    End If
    Dim fo As New System.IO.FileInfo(WinFontPath)
    System.IO.File.Copy(FontPath, WinFontPath, True)
    Const WM_FONTCHANGE As Integer = &H1D
    Const HWND_BROADCAST As Integer = &HFFFF
    Ret = AddFontResource(WinFontPath)
    Hangs here:Res = SendMessage(HWND_BROADCAST, WM_FONTCHANGE, 0, 0)
    Ret = WriteProfileString("fonts", "Brush Script MT" & " (TrueType)", "BRUSHSCI.TTF")
    End If
    Any ideas?  BTW, I need a solution that works on both 32 and 64 bit systems.
    Also, is there a way to do this at installation time?
    TIA
    Terry

    Hi,
     Here are the signatures that the PInvoke Signature Toolkit gave me for the 3 functions.
    <DllImport("user32.dll", EntryPoint:="SendMessageW")> _
    Public Shared Function SendMessageW(ByVal hWnd As IntPtr, ByVal Msg As UInteger, ByVal wParam As UInteger, ByVal lParam As Integer) As Integer
    End Function
    <DllImport("gdi32.dll", EntryPoint:="AddFontResourceW")> _
    Public Shared Function AddFontResourceW(<MarshalAs(UnmanagedType.LPWStr)> ByVal param0 As String) As Integer
    End Function
    <DllImport("kernel32.dll", EntryPoint:="WriteProfileStringW")> _
    Public Shared Function WriteProfileStringW(<MarshalAs(UnmanagedType.LPWStr)> ByVal lpAppName As String, <MarshalAs(UnmanagedType.LPWStr)> ByVal lpKeyName As String, <MarshalAs(UnmanagedType.LPWStr)> ByVal lpString As String) As <MarshalAs(UnmanagedType.Bool)> Boolean
    End Function
     SendMessage is a Blocking function meaning it waits until it gets a return from the window that the message is sent to before your app will continue executing the next line of code. When you are using the SendMessage function with HWND_BROADCAST used
    for the handle parameter it will enumerate all the top level windows and send a separate message to each one and wait for each top level window to return a value. It very well may be sending the message to a window that is not returning a value which would
    cause your app to wait forever for the return.
     For sending messages like this you would probably be better off using a function like SendMessageTimeout or maybe even PostMessage would work. Here are the signatures i got for them.
    <DllImport("user32.dll", EntryPoint:="SendMessageTimeoutW")> _
    Public Shared Function SendMessageTimeoutW(ByVal hWnd As IntPtr, ByVal Msg As UInteger, ByVal wParam As UInteger, ByVal lParam As Integer, ByVal fuFlags As UInteger, ByVal uTimeout As UInteger, ByVal lpdwResult As IntPtr) As Integer
    End Function
    <DllImport("user32.dll", EntryPoint:="PostMessageW")> _
    Public Shared Function PostMessageW(ByVal hWnd As IntPtr, ByVal Msg As UInteger, ByVal wParam As UInteger, ByVal lParam As Integer) As <MarshalAs(UnmanagedType.Bool)> Boolean
    End Function
     However, i also noticed you are trying to copy a font file to the Windows\Font directory which the Windows folder is a protected folder on newer OS`s so, you would need administrator rights to write a file to that directory. I don`t know but, it seems
    like an installer might have the capability to install a font. I am sure so, others may have some input on this.   8)
     PS - Using an Integer as you have for the hWnd parameter of the SendMessage function may vary well cause a problem on 64bit systems.
    If you say it can`t be done then i`ll try it

  • 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)

  • Local language site does not support with the font. I alredy installed the font in my computer. IE support with it but FF 5.0 not support?

    I visited a local site which published in local language(Sinhala language) The site provides the font to be installed to visit the site. I installed that font and tried to visit the site, but can't read as font not supported. restart also not solved. With IE it support and Firefox 5.0 not.

    I visited a local site which published in local language(Sinhala language) The site provides the font to be installed to visit the site. I installed that font and tried to visit the site, but can't read as font not supported. restart also not solved. With IE it support and Firefox 5.0 not.

  • How to install both infinality-fonts and google-fonts?

    I would like to install (one of the) google-fonts AUR packages, but it conflicts with infinality font packages.  Is there a way to only install the fonts from the google-fonts package which don't already exist in infinality versions?

    karol wrote:Maybe you can just 'rm -rf' the fonts that are already provided by infinality font packages?
    It's a bit complicated. I checked to see if the otf-google-fonts-hg package would work as none of infinality-bundle-fonts are OTF. Nope. bohoomil has conflicts for all sorts of packages and the font names aren't obvious:
    ~ > pacman -Qi ttf-chromeos-ib | egrep "Name|Conflicts"
    Name : ttf-chromeos-ib
    Conflicts With : otf-google-fonts-hg ttf-google-fonts-git ttf-google-fonts-hg ttf-chromeos-fonts ttf-chromeos-extra-fonts
    There is no font by that name in the otf-google-fonts-hg package; it's an infinality font meta-package.
    Last edited by skottish (2014-12-17 23:51:09)

  • MBP retina display and otf fonts

    I just migrated my files onto my retina mbp.
    Upon installing all my past fonts, I realize that all the OTF fonts cannot be read.
    Is this because of the retina display or just some bug in my new laptop?
    I have to convert my fonts to TTF true type fonts now.

    Hi Clinton thanks for your response.
    I tried to add these fonts onto my Font Book, and errors pop up for ALL my OTF fonts. That was so surprising as I never had any issues with fonts and I have been using Font book since the day it was available to us.
    I converted one OFT font to true type and it then worked ok which is great however I have many many fonts (also archived library too which I might need in the future) and doing this manually on the online convertor just takes too long.
    I tried out FontXchange, but the TTF save is a .suit which Font Book doesn't like either. Only .TTF seems to work now.
    On my old MBP, I was running the most updated Lion update etc. so its the same as the retina MBP that I am using now.

  • I bought and installed many fonts for a project and one font in particular which is showing up in the font list on a new file, is missing when I open an existing file containing that font. I can't understand why that's happening and the font is Centrale S

    Hi
    I am encountering a missing font error on Adobe Illustrator for a font that I recently bought - Centrale Sans Bold. This font is clearly installed in the system's font folder and is also showing in the font list on Adobe Illustrator. But when I open an existing file containing this font it is giving the error "The document uses fonts or characters which are not available or are in a different format than originally specified".
    We have also bought Centrale Sans regular from a different website as we couldn't find both on one, could that be clashing somehow?
    Also the existing file was created on MAC plattform and we are using a windows plattform to open it. That to me doesn't seem like an issue as all other files are opening up fine and I have bought around 47 fonts and only this font seems to be not working. I have also written to the website I bought it from but I have also bought around 20-25 fonts from them and all the other fonts are working fine too. Maybe its an illustrator related problem?
    Please help!!!!!!

    There is one way its getting fixed. Once I update my Adobe Illustrator CC to Adobe Illustrator CC 2014 it is further allowing me to go into the system folder and allocate the font to the file so that it can replace it. My only concern now is that our MAC partners who will receive these files back from us have Adobe CS6. We will down save it to CS6 but I hope they won't experience any font issues because of us using CC 2014? Any light you can shed on this?

  • I have installed the font Broadway on my computer and it works in Microsoft Word but does not appear in the font list in InDesign.  How can I fix this problem?

    I have installed the font Broadway on my computer and it works in Microsoft Word but does not appear in the font list in InDesign.  How can I fix this problem?

    Start by rebooting the computer. If that doesn't work, search for adobefnt*.lst and delete all instances where * becomes a 2-digit number.

  • I installed Armenian fonts in my computer (Foreign font) and now firefox displays these fonts instead of English fonts

    I installed Armenian fonts in my computer (Foreign font) and now firefox displays these fonts instead of English fonts

    You can try to clear the font cache(s).
    * http://www.creativetechs.com/iq/garbled_fonts_troubleshooting_guide.html - CreativeTechs Tips: Garbled Fonts Troubleshooting Guide
    * http://www.thexlab.com/faqs/multipleappsquit.html - Font Book 2.0 Help: Checking for damaged fonts

  • HT2509 I have installed a font from the internet into Font Book and saved it in my Fonts folder under my user library. How can I make it available in Word to type a document?

    I have installed a font from the internet into Font Book and saved it in my Fonts folder under my user library. How can I make it available in Word to type a document?

    Font Management in OS X

  • Just bought an .OTF font for Flash CS6 and it's not showing up in the list.

    Just bought an .OTF font for Flash CS6 and it's not showing up in the list.
    EscrowText-Roman.otf
    Any reason why? It shows up in Illustrator and Photoshop just fine.
    Line

    If you have never synced an audiobook yet, you have to connect your ipad and go to the books tab.
    Scroll down past the regular books and there will be where you sync your audiobooks.
    Then they will show up on the music app under "other"

Maybe you are looking for

  • Dates appear different in log file vs. debug page for Deferred Task

    I added a deferred task and in the log file, the date appeared correctly as Mon Dec 15 16:34:11 PST 2008 But when I viewed the user in the debug page, the date appeared as <Date>2008-12-16T00:34:11.430Z</Date> I called an external java class that ret

  • Read from file without space at the end

    i want to read some data from a simple text file. when there is a space after the number in the, that number is read successfully. but when there is no space after that number, the code fails. it seems that sun fortran compiler can not read the numbe

  • Multiple Site-Site VPN Tunnel on a Single PiX Firewall

    I cureently have a site to site VPN tunnel (VPN1) between HK (Pix ver 6.1(2) & Leeds (ASA version 7.2(2). I am in the process of migrating the VPN tunnel to a newly deployed 10 Mb internet link in Leeds which has a Pix 506E Ver 7.0(2). I have decided

  • Transfer bought lesson to another mac

    hi! i bought some guitar lessons and would like to transfer it to another mac. where can i find the file? thanks...

  • IDoc for knowing Idoc status

    Hi,   Is there any outbound idoc which gives a status of the idocs like we have one for inbound(ALEAUD01) status idoc. Can you please confirm this regards alok