I have downloaded the Times New Roman font and put it into .local/fonts where it should be (my OS is Fedora 17 and I use TexLive 2012). It is recognized by LibreOffice and LyX. LibreOffice displays correctly the Romanian characters ș,ț,Ș,Ț and even converting the LibreOffice document to pdf keeps them visible and rightly displayed, but when I write a document in LyX using Times New Roman and XeTex compilation, even though I see them in the input document, the pdf output displays four squares instead of the desired characters. I expected that, since the command fc-list :lang=ro | Times does not display anything, so it's an incompatibility between Times New Roman and Romanian language (which I can't explain since LibreOffice correctly displays the four characters). How can I solve this? Do I need a special Times New Roman font? I haven't found one, it's almost 2013 and there's no Times New Roman for the Romanian language used in LyX with XeTex :)

  • I'm not sure, but this might be relevant: lyx.org/trac/ticket/7348 – scottkosty Dec 13 '12 at 23:40
  • 3
    LibreOffice (and most GUI applications) can fallback to a different font for characters missing from the requested font, XeTeX does not do that. – Khaled Hosny Dec 14 '12 at 3:39
  • 3
    Is there a reason you are using an arbitrary Times New Roman font (of unknown quality) rather than TeX Gyre Termes, a free Times clone developed by the 'TeX community' (GUST plus money from others)? The TeX Gyre fonts are pretty good on accent coverage. – Joseph Wright Dec 14 '12 at 7:05
  • Can you add a minimal example of LaTeX code with which you get such a problem? – egreg Dec 14 '12 at 7:58
  • @Khaled Hosny - No, it is not the case. I didn't notice any difference between the four characters and the others when using Times New Roman. They are the same. – riderplus Dec 14 '12 at 14:00

Solved by actually using a different type of Times New Roman font (with Romanian glyphs). Otherwhise Joseph Wright's suggestion of using the TeX Gyre Termes is a nice hack. Thank you for your help.

  • From a legal point this is dangerous. I hope you own a Windows license. – Speravir Dec 16 '12 at 20:57
  • I have bought my computer (Acer Aspire One) with Windows 7 starter and I double-boot. I haven't shared the Windows 7 fonts with anyone, I kept them for private usage. Why would that be a legal issue? – riderplus Dec 16 '12 at 21:56
  • 1
    I don't see how using TeX Gyre Termes is a "hack". – You Dec 16 '12 at 22:22
  • Ok maybe I didn't use the right term. I meant to say it's a nice and smart replacement for Times New Roman (that's what I understand by a "hack" - maybe in the old fashion, not as it is used nowadays by mass-media, referring to "hacking" instead of "cracking"). – riderplus Dec 16 '12 at 22:36
  • @riderplus: You describe something, that is only legal, if you own a copy of some Microsoft software (I forgot, it’s also installed with Office). IMO an according warning belongs into your answer. You can BTW edit this, as it is your’s (Oh, I see, you already did that!). – Speravir Dec 16 '12 at 22:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.