Bonjour,
Je cherche à utiliser avec XeLaTeX une fonte truetype (.ttf) qui
contient les "images" des touches d'une calculatrice Texas Instrument.
Voici la police :
https://education.ti.com/download/en/ed-tech/B1B863F270AB4381A836C38E88A94127/DA6E5D6CD1D749289793809BC52ABA5A/TI-83%20Premium%20CE%20Key%20Fonts.zip
J'ai mis la police dans mon ~/texmfhome :
/home/meloli/.texlive2016-texmfhome/fonts/truetype/perso_police_TI83PremiumCE/TI83PremiumCEKeys.ttf
Je ne sais ni charger cette police, ni ensuite appeler ces caractères.
Ci dessous un ECM qui ne fonctionne pas.
Pouvez-vous m'indiquer comment faire ?
Merci beaucoup.
Olivier_V
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[a4paper,11pt]{article}
\usepackage[tuenc]{fontspec}
\setmainfont[Ligatures=TeX]{CMU Serif} %needed for me to get
small-bold caps
\setsansfont{CMU Sans Serif}
\setmonofont{CMU Typewriter Text}
\usepackage[a4paper]{geometry}
\usepackage[french]{babel}
\usepackage{unicode-math} %works without this
\begin{document}
\fontspec{TI83PremiumCEKeys}
\end{document}
LOG %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! fontspec error: "font-not-found"
!
! The font "TI83PremiumCEKeys" cannot be found.
!
! See the fontspec documentation for further information.
!
! For immediate help type H <return>.
!...............................................
l.14 \fontspec{TI83PremiumCEKeys}
|'''''''''''''''''''''''''''''''''''''''''''''''
| A font might not be found for many reasons.
| Check the spelling, where the font is installed etc. etc.
|
| When in doubt, ask someone for help!
|...............................................
.................................................
. fontspec info: "no-scripts"
.
. Font TI83PremiumCEKeys does not contain any OpenType `Script' information.
.................................................
\g__fontspec_family_TI83PremiumCEKeys_int=\count133
.................................................
. fontspec info: "no-font-shape"
.
. Could not resolve font TI83PremiumCEKeys/BI (it probably doesn't exist).
.................................................
.................................................
. fontspec info: "no-font-shape"
.
. Could not resolve font TI83PremiumCEKeys/B (it probably doesn't exist).
.................................................
.................................................
. fontspec info: "no-font-shape"
.
. Could not resolve font TI83PremiumCEKeys/I (it probably doesn't exist).
.................................................
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! fontspec error: "font-not-found"
!
! The font "TI83PremiumCEKeys" cannot be found.
!
! See the fontspec documentation for further information.
!
! For immediate help type H <return>.
!...............................................
l.14 \fontspec{TI83PremiumCEKeys}
|'''''''''''''''''''''''''''''''''''''''''''''''
| A font might not be found for many reasons.
| Check the spelling, where the font is installed etc. etc.
|
| When in doubt, ask someone for help!
|...............................................
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
! fontspec error: "font-not-found"
!
! The font "TI83PremiumCEKeys" cannot be found.
!
! See the fontspec documentation for further information.
!
! For immediate help type H <return>.
!...............................................
l.14 \fontspec{TI83PremiumCEKeys}
|'''''''''''''''''''''''''''''''''''''''''''''''
| A font might not be found for many reasons.
| Check the spelling, where the font is installed etc. etc.
|
| When in doubt, ask someone for help!
|...............................................
.................................................
. fontspec info: "defining-font"
.
. Font family 'TI83PremiumCEKeys(0)' created for font
'TI83PremiumCEKeys' with
. options [].
.
. This font family consists of the following NFSS series/shapes:
. - 'normal' (m/n) with NFSS spec.: <->"TI83PremiumCEKeys:"
. - 'small caps' (m/sc) with NFSS spec.: <->"TI83PremiumCEKeys:"
.................................................
! Font TU/TI83PremiumCEKeys(0)/m/n/10.95=TI83PremiumCEKeys: at 10.95pt
not load
able: Metric (TFM) file or installed font not found.
<to be read again>
relax
l.14 \fontspec{TI83PremiumCEKeys}
I wasn't able to read the size data for this font,
so I will ignore the font specification.
[Wizards can fix TFM files using TFtoPL/PLtoTF.]
You might try inserting a different font spec;
e.g., type `I\font<same font id>=<substitute font name>'.
(./essai_police_TI83_ECM.aux) )
Here is how much of TeX's memory you used:
15237 strings out of 493589
298368 string characters out of 6143512
405094 words of memory out of 5000000
18573 multiletter control sequences out of 15000+600000
4344 words of font info for 37 fonts, out of 8000000 for 9000
1347 hyphenation exceptions out of 8191
43i,1n,68p,10441b,282s stack positions out of
5000i,500n,10000p,200000b,80000s
No pages of output.