<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br>Le 11 mai 2015 à 16:46, Herbert Schulz <<a href="mailto:herbs@wideopenwest.com">herbs@wideopenwest.com</a>> a écrit :<br><br><blockquote type="cite"><blockquote type="cite" style="font-family: Courier; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br>On May 11, 2015, at 9:29 AM, jfbu <<a href="mailto:jfbu@free.fr">jfbu@free.fr</a>> wrote:<br><br>...<br>XeTeX does not use this on Mac OS X, as far as I know, at least I<br>recall having followed the instructions some 3 to 5 years ago, got<br>bitten by it and moved forward to other things. Perhaps it changed<br>since?<br><br></blockquote><br>Howdy,<br><br>On OS X you must make the TeX Live opentype fonts visible to the OS by either copying them into something like ~/Library/Fonts or creating a new Library (File->New Library (Opt-Cmd-N) in FontBook) that points to the opentype fonts folder in texmf-dist.<br><br>I used to do the latter but with every minor OS update I had to re-do it so I gave up quite a while ago. Things may be better with more recent version of OS X; I don't know. I now do the former; simply copying that opentype folder to ~/Library/Fonts.<br><br></blockquote><div><br></div>Hi Herb,<br><br>thanks for the info, I didn't know about "creating a new Library" <br>in FontBook. And about copying fonts into ~/Library/Fonts I never<br>went through this step as it seemed a waste of disk space ...<div><br><br><blockquote type="cite">Note: under OS X if you reference the font by Font Name rather than File Name xetex uses the OS to find the file. However, if you reference the font by File Name it will find the font in the texmf-dist/fonts/opentype folder.<br></blockquote><div><br></div><div><br></div><div>and if one uses filenames it seems in my (renewed) experience </div><div><br></div><div>1) one must use ExternalLocation option to \setmainfont</div>2) bold, italic, bold-italic variants with corresponding filenames </div><div>must be listed explicitely</div><div><br></div><div><br></div><div><blockquote type="cite">Yes, fontconfig is not used under OS X.<br><br></blockquote><br></div><div>thanks for the confirmation. </div><div><br></div><div>I am on 10.9.5 (mavericks). I experimented with your indications.</div><div><br></div><div>I will make a long story short because I spent two, no three, </div><div>hours on this already.</div><div><br></div><div>1) I made the texmf-dist/fonts/opentype repertory known to FontBook</div><div>as a "New Library" and it (sort of) worked</div><div><br></div><div>1a) I skip the details see however attached png about a problem</div><div>with Inconsolatazi-Bold</div><div><br></div><div>2) however FontBook would then take at least 2 or 3 minutes to</div><div>launch</div><div><br></div><div>3) then I removed (manually) the created xml file</div><div>"TeX OpenType Fonts.library" from</div><div>$HOME/Library/FontCollections, launched and quit FontBook</div><div><br></div><div>4) then the test file using TeX Gyre Termes still worked !</div><div><br></div><div>5) after 45 minutes it stopped working. Ok, I figured, some cached</div><div>file finally was removed</div><div><br></div><div>6) I redo the steps, but only with TeX Gyre repertory, because</div><div>I had learned my lesson about not overloading FontBook</div><div><br></div><div>7) currently simple test file does *not* work anymore (but see</div><div>end of message)</div><div><br></div><div><blockquote type="cite">\documentclass{article}<br>\usepackage{fontspec}<br>\setmainfont{TeX Gyre Termes}<br>\begin{document}<br><br>Hello world.<br><br>\textbf{Hello world.}<br><br>\textit{Hello world.}<br><br>\end{document}<br></blockquote></div><div><br></div><div>Currently all TeX Gyre files do show perfectly well</div><div>in FontBook (quit relaunch, quit relaunch, ok)</div><div>but simple test file does not compile with any one.</div><div><br></div><div>I discovered during my testings that XCharter works</div><div>There is</div><div><br></div><div>/..../texmf-dist/tex/latex/xcharter/XCharter.fontspec </div><div><br></div><div>which seems to help out fontspec.</div><div><br></div><div>\defaultfontfeatures[XCharter]<br> {<br> Extension = .otf ,<br> BoldFont = XCharter-Bold,<br> ItalicFont = XCharter-Italic,<br> BoldItalicFont = XCharter-BoldItalic,<br> UprightFont = XCharter-Roman,<br> SmallCapsFeatures = {Letters=SmallCaps}<br> }<br><br></div><div>Is this some hint that this could be the packaging of the</div><div>future for bundled TeXLive OpenType fonts and that they</div><div>would work out-of-the-box with XeTeX on Mac OS X ?</div><div><br></div><div>I have to report on another thing which happened, while</div><div>I first tried to make known the full texmf-dist/fonts/opentype</div><div>repertory to FontBook : </div><div><br></div><div>--- This process found problems with Inconsolatazi4-Bold</div><div>--- (see attached png) and with the fonts whose names start</div><div>--- with "Fandol"</div><div><br></div>I understand this not the appropriate mailing list to dwell on <div>the user interface of Apple Mavericks Font Book but I just</div><div>want to point out that in my experience it appears to be</div><div>broken in various ways. I experienced curious things.<div><br></div><div>I was hoping that it would be possible to generate via a script</div><div>directly the xml file I see that FontBook creates in </div><div><br></div><div>$HOME/Library/FontCollections</div><div><br></div><div>but that was at a time I though the whole thing actually did work.</div><div><br></div><div>UPDATE: it now works again ! (Adventor, Pagella, Bonum, etc...)</div></div><div>and removing the Library from FontBook it immediately ceased</div><div>working. And re-adding it, it worked again. Don't know what</div><div>happened.</div><div><br></div><div><br></div><div>best wishes</div><div><br></div><div>Jean-François</div><div><img height="462" width="620" apple-width="yes" apple-height="yes" apple-inline="yes" id="46E136E9-0C5E-4780-95F8-21247D9D3A7B" src="cid:CF78DFFC-5DD7-4D5B-B479-54DCE8031C43"></div></body></html>