[SOLVED] xelatex weird font display issue

Hello all
I was playing around with fonts on my system today, and noticed that, all of a sudden, the fonts were being garbled by xelatex whenever I compiled a document. Backtracking to what I'd done, it turns out that xelatex will get confused by multiple occurrences of the same font in a fc-cache path (for want of a better term). Earlier on this afternoon, I'd recently followed a guide in the wiki (or thereabouts) to make some TeX fonts available to fc-cache. However, xelatex looks in the system font path when it loads them, and appears to discover two or more versions of the same font, and doesn't know which to substitute. Hence the output text gets a whole lot of characters messed up.
The solution is simple: remove the LaTeX fonts from the system search path. In my case, I'd symlinked `/etc/fonts/conf.avail/09-texlive-fonts.conf` to `/etc/fonts/conf.d/09-texlive-fonts.conf` (as you do to enable fontconfig rules), and run fc-cache to update them. Removing this link and updating the cache fixes the issue, after recompiling the affected documents.
Does anyone think I should edit the wiki to point this out for future reference? It had me confused for a bit (right when I need to compose a job application due Monday), and Google didn't say anything. It might be useful for other tinkerers.
Douglas Adams wrote:A learning experience is something that tells you, "You know that thing you just did? Don't do that."
Appropriate? Perhaps.

I've had similar problems with XeLaTeX in the past. I hope they figure out a way to fix it.
I think perhaps the wiki should be edited to give a warning that this might happen, and maybe water down the suggestion for making TeX fonts available and/or suggest alternatives.
Personally, I quickly regretted the decision to make all the TeX fonts available to fontconfig, merely because the huge number of them (at least for a full TeXlive install) made using any font selection dialogue overwhelming. I've switched to fc-caching them manually if and when I need them.

Similar Messages

  • Font display issues

    Upgraded to Lion on an iMac, now I have strange font display issues across applications and in browsers and specifically with numbers, somethimes letters.

    Start with something relatively simple, like clearing the font cache files.
    Close all running applications. From an administrator account, open the Terminal app and enter the following command. You can also copy/paste it from here into the Terminal window:
    sudo atsutil databases -remove
    Terminal will then ask for you to enter your admin password. As you type, it will not show anything, so be sure to enter it correctly.
    This removes all font cache files. Both for the system and the current user font cache files. After running the command, close Terminal and immediately restart your Mac.

  • Does Yosemite Mail fix the Outlook font display issue?

    Does Yosemite Mail fix the Outlook font display issue?

    This problem has been going on for years and seems to be related to converting pixels to points, or points to pies between operating systems such as Apple / Microsoft. See The age-old outgoing mail font problem
    Its a complete pain and beyond me why something SO simple as having the text display correctly between operating systems has not been fixed, especially in this era of technology. Apple should really focus on this and I am amazed that after waiting 4 years since the release of Microsoft Outlook 2011 for the new Microsoft Outlook 2015 that Microsoft have also not fixed this. Its just beyond comprehension and effects both the reputation of people sending emails using these platforms and those organisations that produce the software, and chose to ignore the problem without fixing it. The industry leaders should do just that and lead the way by fixing this basic problem, not burying their heads in the sand and hoping goes away.
    Recently I have had to resort to typing the required email text in something like the TextEdit app, copying and pasting it into the Outlook mail body. Its not great, adding extra steps for every email sent and I use my Mac for business so there are many daily email being generated. At least doing it this way all the text is consistent when sent although I'm sure there could be a workflow generated in Automator or an AppleScript that would reduce the steps.

  • Weird OSX display issues after going to webpage, only thing that fixes is  Perm repair

    I have a bizarre issue that i'd love some input on. Late 2009 iMac, Mountain Lion (then Mavericks).
    I use Firefox to utilize a real estate website (Fusion MLS) for several months now. A couple of days ago, after i would log into the website and use it for a little bit, the rest of my tabs, apps, windows, would all start appearing as black boxes, or have glitched out (generally black) screen display issues. To be clear, other tabs inside the browser would be black, or partially black, and also the right half of my taskbar icons would be black silhouettes of the icon. BUT, the Fusion MLS website would still work fine. Closing the page, etc, would not fix the problem, it would be stuck like that no matter what i closed or opened, computer would function fine except for the display, but i couldnt see hardly any of the apps so I'd have to shutdown, but a simple reboot didnt fix it. After an hour of troubleshooting, I started off in Mountain Lion when the problem appeared, and in the process of troubleshooting I decided to upgrade to Mavericks to see if that would fix the problem, it didnt. Ultimately I discovered the only thing that fixes the problem is to boot into Safe Mode and Repair Permissions, then i can come back in as normal and everything is normal again (a standard reboot doesnt fix it, when logging back into OSX it would still have black silhouettes and all the app windows would be black).
    So after the above I decided to just start using a different browser to go to this Fusion MLS website (Safari). Which worked fine for a day, but now when i go to the website, i have no problems, but when i put the computer to sleep, and bring it back, the windows are blacked out and icons silhouetted. So back to safe mode, repair perms, and then it works again. When i do the repair perms, there are usually no verbose things that it says it repairs, sometimes it says something about the PrinterList being 0 instead of 80, but thats it.
    Any help or insight would be greatly appreciated, I'm completely dumbfounded....

    Now regular Repair Perms doesnt fix it, it has to be Diskwarriors Repair Perms. Also it happens anytime the computer is put to sleep for a length of time and brought back, regardless of whether the Fusion MLS website was gone to.

  • Chinese Font Display Issues

    Dear Adobe Community,
    I'm using Adobe Photoshop CS6, and using chinese characters for my text. I've been using "Xingkai SC" however strangely, some characters when typed will display correctly as "Xingkai SC" but others will not, and will automatically switch to "Adobe Heiti Std." I don't understand why this is happening, and would like to know the solution so that all characters appear as "Xingkai SC" instead of typing chinese and getting two fonts together in the same sentence. Here's a picture of this below. (a) As you can see the ( Left to right) 1rst and 3rd characters display "Xingkai SC" but the 2nd and 4th characters are displaying "Adobe Heiti Std."Also even when I highlight the text and manually try changing the text to "Xingkai SC" nothing happens, and everything remains the same. Also another quick question. When selecting fonts what does the "O" and "TT" mean? Hopefully can get the frustrating character issue resolved.
    (a)
    (b)
    (b)

    We use mostly English/Latin fonts so it's very hard to get someone who knows about Chinese fonts and Photoshop issues on a Mac.  However I can give you something to go on.
    You have to consult Chinese design forums, here is one to try.
    http://bbs.blueidea.com/forum.php
    TT = TrueType fonts  OT = Opentype fonts.  You will need to read up on those terms.
    A suggestion for a good Chinese font to try. It may solve your problem:
    http://forums.adobe.com/message/4017882?tstart=0
    Gene

  • Screwy font display issues under size 10 type (Mac/PC)

    Given the nature of the problem, I think it's probably a Mac issue and not a PowerPoint or PC issue...
    I'm working in PowerPoint on both the Mac and PC. Latest versions of PPT for both platforms, so I'm using the .pptx file format. I've got a footnote on my slides that started out as size 8 Arial. My Windows XP Pro box (SP3) displays this just fine in PowerPoint 2007. My MacBook Pro displays it just fine on PowerPoint 2008 and in Windows XP Pro (SP3) under XP in Parallels.
    It does not display appropriately on my client's computers, all of which are Macs running Leopard (10.5.8) and PowerPoint 2008. It looks crunched and garbled on-screen, but it prints fine. Arial at larger sizes (10 +) displays and prints as expected. It seems to just be size 8 or smaller.
    I read a MS MVP reply on a thread elsewhere that suggested that Arial for the PC and Arial for the Mac aren't really the same font (thank you, Microsoft). So, I tried changing to other fonts that are supposedly standard on both platforms. Trebuchet MS and Times New Roman also display the same problem. Anything size 8 or smaller has the same display error on my client's machines, which I cannot reproduce on my PC installations or my own MacBook Pro which also runs 10.5.8.
    I can replicate the error on an older desktop Mac running 10.4.11, though.
    What am I missing? How can I work around this? I'm cool with any legible standard font, but given the requirements of my project it's got to be about size 8 to fit reasonably in the space I have for footnotes.
    Thanks in advance!

    I'm not sure. They're on a mix of desktop and laptop systems, from what I've seen. I've seen something similar to what they report on my desktop Mac, which is running a 23" Apple Cinema display under 10.4.11, but not my MacBook Pro's 15" screen.
    Their IS group recommended trying Verdana instead of Arial. It looks a little better on my desktop Mac. I'm waiting for the client's review of my latest test file to see how it appears on their end.
    Thanks!

  • Why does FF18 (and not older releases) have new, severe font display issues in some contexts?

    When I upgraded to FF18 in Windows XP, all the sample pages (more than 200) in my portfolio site were effectively rendered unreadable in FF18 in XP. I also noticed the darker themes in Gmail had some of the same issues, though much less severe. I see none of these problems in FF18 on OS X using the latest version of the OS (Version 10.8: "Mountain Lion"). The issues seem to have no relationship to the fonts specified, although on one system, the bolder Arial in Gmail's top menubar looked much worse than unbolded Arial inside the inbox.
    I narrowed down the portfolio page issues to two main contributing factors:
    1. Translucent CSS opacity setting in a non-containing layer below the layer containing the text. To try being a bit more clear, the layer that actually contained the text and its background was NOT using any opacity settings. Think of the lightbox effect, if you've heard of that, to pop-up a page inside the existing browser window rather than in a new window, which typically uses a translucent overlay outside of the text area that reveals some of the background of the opening page.
    2. The text layer used white and other light-colored text on a dark background (#262626).
    Although I've I spent several days redesigning and reworking my pages to protect them from future potential rendering issues, I'd still like to know more about what's causing this. I've worked around somewhat similar issues in other browsers (mainly ie and chrome), but never so severe as these latest ones in FF18.
    I tried unchecking the hardware acceleration checkbox in Options, and tried reversing the gfx 'azure' and '2d' options in about:config. I also tried disabling all add-ons. However, none of this made any difference in either Gmail or my own pages.
    I can't realistically ask my potential clients to fiddle with all of these settings, so that is a major reason for asking. I could post a couple of screenshots of my Gmail inbox, although I don't see any place in this form for file uploads.

    Here're two screenshots showing the more severely unreadable rendering when a non-containing translucent layer is below the text layer (Item #1 in opening post).
    1: The first screenshot shows 13px Calibri (Windows system font) body text at #ffffff (white) foreground color body text over a #262626 (dark gray) background. The background color of the 0.5 opacity translucent layer (visible at top and left sides of screenshot) is #DFDBCD. The subheads are 18px #fff Calibri.
    2: The second screenshot shows 13px body text at #ffffff (white) foreground color body text using an open source font over a #262626 (dark gray) background. The background color of the 0.5 opacity translucent layer (visible at top and left sides of screenshot) is #DFDBCD. The subheads are 18px #fff using an open source font.

  • Weird Font Rendering Issue?

    Okay i was looking fo some back up drives online, and i stumbled upon:
    http://www.circuitcity.com/ssm/Seagate-Barracuda-7200-9-500GB-Internal-Drive-ST3 500641ARK/sem/rpsm/oid/168899/catOid/-12976/rpem/ccd/productDetail.do
    it renders like this:
    http://img512.imageshack.us/img512/4641/picture3rn0.png
    http://img218.imageshack.us/my.php?image=picture4dr1.png
    but for some reason on my MacPro 2.66 the font renders odd in FireFox (doenst do it on Safari. and ive tried this exact sit eon my MacBookPro and it looks fine on Firefox.
    I have the following installed (on both machines)
    -FireFox 2.0.0.9
    -Microsoft Office 2004
    -Adobe CS2
    -Macromedia Studio 8
    theyre practically identical with programs & fonts installed, the only fonts that are installe are the ones that wer epreinstalled with the system, and that came with Office 04 and CS2
    any way to maybe fix this issue?

    hey! well i tried your site url on my MacPro and i have the same issue, so it must be a macpro thing? lol
    im running the latest firefox and no additional fonts installed other than the ones you have listed yourself (office, cs2, macromedia)
    so dont fret. i tried using font finangler and onyx to clean the font cache, (not sure i fhtat was a good idea,) but it shows up on mine so your not the only one! ive tried on two different macpros one wiht out any programs and it does the same thing. so it must be something with the wya its rendering on these machines.
    at first it hought maybe something got corrupted in my system aswell
    hope that helps!!

  • October CPU Patch Caused Font Display Issues

    We loaded the forms server October CPU patchset in test and our web deployed 10g forms are now displaying a smaller font. We've tried recompiling the forms on the server to no avail. It appears that the font is shrunken about 2 points so we would have to go up to an 11 point font to get back to where we were. Does anyone have any ideas on how to resolve this?

    We are using object groups. I did create a very stripped down 1 block form, with no object groups, that I could deploy to both test servers and the fonts were different sizes when run from the different boxes. When I say stripped down I mean absolutely no triggers, procedures or anything in the form.

  • Font display issues after 10.5 install

    Seeing fractions and garble. It shows in places like Mail and Safari. Visiting slashdot.org gives me garbled text for any of the headlines. Running a G5 Power PC with lots of ram. Help me. Use the force.

    Hi Rich,
    It's most likely just corrupt font cache files at this point. I was going to suggest clearing those yesterday, but the utility I normally suggest for that hasn't been updated for Leopard yet.
    Did just read about this one in the current issue of Mac|Life. Download FontNuke. Run the app and click on the "Nuke Font Caches" button at the upper left. The panel will fill with other choices. At the lower right, first click "Update Caches List". It will search your hard drive for font cache files and list them. The purpose being simply so you can see what is about to be removed. Click the "Nuke Font Caches" button at the bottom right. Your Mac will restart. Don't attempt to stop the restart. You should always restart immediately after removing cache files.

  • Odd Font Display issues.

    http://www.kieru.com/mac.jpg (406 Kb)
    This is what my screen sometimes looks like - and I have no idea why. I use Mozilla Firefox on a 20" Intel Core Duo iMac running OSX 10.4.7. I thought I fixed this problem when I hand-sorted through 1,800 fonts and deleted any that seemed 'bad'. Alas, it returns.
    Any ideas? It seriously is too annoying to suffer existance.
    iMac Intel Core Duo   Mac OS X (10.4.6)  

    I finally figured it out. Either from the 10.4.7 update, or from repairing disk/permissions the default Sans Serif font for Firefox was changed from Helvetica to a much different font that somehow caused this error

  • Font display issues in questions

    Hi-
    This the first time that I have experienced this and cannot seem to figure this one out.
    I have created a quiz in Captivate 4 and when I go to preview the project the words of the question are in some sort of symbols font.
    this is in the preview mode and when it is published.......
    When you look at the question in captivate this how it appears:
    I have tried changing the font, the size of the font, the "fill" and get the same results.  I am not sure what else to try.  Does anyone have any ideas?
    Thanks,
    Michelle

    Hi Michelle
    Wow, that's really bizarre! Can't say that I've ever seen that before.
    I'm wondering what you would see if you were to click File > Export > Project Captions and Closed Captions. Does the font look all odd then in the resulting Word document?
    Was this something you created yourself or is it something that someone else created and you are editiing? I'm wondering if perhaps if you are editing another's work if maybe they used a font that isn't installed on your PC or something.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Weird font display on all Mac web applications

    Pictured above is a screenshot of what many bold fonts look like on my web applications (Mail, Safari, Firefox, etc.) This has been an ongoing problem and I can't for the life of me figure out how to fix it. Any suggestions?

    I'd say it's something in your /Library/Fonts folder other than system installed fonts.
    But you probably should post in the Safari forums for a Safari related problem, or Mail for mail.

  • Font Display Issue in iTunes 7

    Can anyone help me with this one? Took a screenshot to make it easier to explain.
    http://img171.imageshack.us/my.php?image=fonterrorav9.jpg
    It's looked like this since I upgraded to 7, all the characters are replaced with |||||||||||. Makes it pretty hard to navigate.
    I've triple checked my location \ language settings, and they're all in english.

    Were you browsing the iTunes Store for Japan? maybe your system or iTunes don't have Japanese fonts installed .. that's why the words are all replaced with IIIII ... just a guess...

  • WEIRD FONT DISPLAYED ON REPLIES

    For some reason all of a sudden in the body of a reply, my original message comes back looking very funny. Almost like a symbol. The outgoing font is set as HELVETICA 11. But when it comes back in the reply it looks like this:
    http://farm2.static.flickr.com/1305/57935178396b78ce963o.png
    Anyone have any thoughts?
    MacBook   Mac OS X (10.4.9)  

    Looks like you have a junk font, possibly with the name Helvetic-something, on your system. You just need to find and remove it. If you look at it in the fontbook sample pane you should see that stuff instead of the normal letters. Most likely it would be sitting in Home/Library/Fonts. Also clear you font caches with FontFinagler (use Google to find it).

Maybe you are looking for

  • Why does my DVI to S Video adapter not work on my Macbook Pro since installing Snow Leopard?

    The Apple DVI to S Video Adapter worked before installing Snow Leopard.  Now I just get a blue screen.

  • Jumper settings for new hard drive

    i'm installing a WD Caviar 120GB ATA-100 drive on my parents' 450mHz G4. The WD intallation drive indicates a need to place a jumper over pins 3 & 4 of the new drive, but need a jumper be used on the Mac's old drive? It's only 6GB in size and is what

  • Home theater question

    Good evening! I've posted this question here because I'm not sure where else to put it. It's quite possible the Mac forums isn't even the right spot, but here I am. If a mod feels this needs to be moved, go ahead. Anyway, our house has speakers built

  • Photo doesn't fit slideshow frame

    Is there a way within iPhoto '08 to make a photo fit properly on the screen when creating a slideshow? I have a series of photos and "full frame" photos fit fine, but photos shot vertically are cut off at the top of the screen.

  • DBAdapter Merge failed

    Hi Experts, Does anyone had issue (ORA-00001: unique constraint) while invoking DBAdapter Merge (Insert and Update) to a table which having a primary key of combination of 3 fields? My table is : LOCAL_CURRENCY NOT NULL CHAR(4) FOREIGN_CURR NOT NULL