I finally decided to put my scripts to use MyriadPro with LaTeX online. While preparing this, fixed some more issues with Myriad and found some with Minion. Also I wanted to use the swash letters of CronosPro with Myriad. So I modified the script to include the support for all three fonts in one repository:
I think for a lot of purposes this gives reasonable results. My modifications so far:
- support of MyriadPro: math and text; tuned accent positions of italic roman letters and of italic and upright greek letters; use swash letters of CronosPro as mathcal; loadable with eg MinionPro
- text only support of CronosPro
- fixed typo in MinionPro.dtx connected with microtype; take kerning
information of accents and swash letters into account
(maybe a change in the LCDF typetools made the last point necessary)
Obviously, there is still work to do. One of the major points is the ability to use the scripts with lcdf typetools > 2.69. Unfortunately, I was not able to identify the cause why the adjust-oml gives an error for the accent positions for the letters eg rho1, beta1, etc for me. It is strange that on some systems there is no problem at all; I was not able to find the difference between these systems…
The major points connected with MyriadPro is the adaptation of MnSymbol for MyriadPro. So far, I did not have the time to look at it. In addition, I did not succeed to tune the accent position of upright roman letters in math mode. The UP* information in adjust-oml.mtx seems to be connected to mathnormal… On the other hand, kerning pairs including the german double ss which is meant as the skew character in the setup (and which works with the swash letters of MinionPro) did not have any effect, either…
Furthermore, the swash letters of CronosPro are slightly to small for MyriadPro, so an option to scale the CronosPro (or all fonts that are based on these scripts) would be an nice feature. So far, I was not able to fully understand the font definition part in the MinionPro.dtx.
Everyone is invited to try the scripts. Anyone with an idea to solve the mentioned problems is also.
April 4, 2011 at 3:29 pm
Hi, thanks for sharing this wonderful code. I tried to build latex support of MyriadPro with the code. However, I got the following error:
Metrics written on MyriadPro-It-tosf-oml-mn-oml-it.mtx.
(./MyriadPro-It-tosf-oml-mn-oml-it.mtx) (./adjust-oml.mtx
! Missing number, treated as zero.
\g-UPpi1
\glyph_metrics #1#2#3#4#5#6->\a_count =#1
\b_count =#2\c_count =#3\d_count =#4
\glyph …al_expr_to \e_count {#2}\ifnum \e_count
=\one_thousand \edef \a_ma…
\shiftglyph …{#1} \movert {#2} \glyph {#1}{1000}
\movert {#4} \resetitalic…
\adjustmetrics …\shiftglyph {#1}{#2}{#3}{#4}{#6}
\resetkern {#1}{skew}{#5}
l.87 \adjustmetrics{UPpi1}{0}{0}{0}{0}{20}
?
Could you please tell me how to handle this problem?
I’m using MacTeX on Mac OS X 10.6.7. Thanks a lot!
April 5, 2011 at 8:00 am
Do you use LCDF Typetools version 2.62 until 2.69 or 2.85 and later (see README)? This error will probably occur if one use lcdf between 2.70 to 2.84.
April 5, 2011 at 4:19 pm
I updated the lcdf-typetools and everything is OK now. Thanks!
May 12, 2011 at 9:47 am
Hi, thanks for sharing your code.
I’ve tried to install the fonts following your readme, and: everything seems fine when installing Myriad and Minion, but it fails to install Cronos; this may be related to some .otf file missing. Is it necessary to install the 3 of them to use just Myriad?
Furthermore, I’ve tried compiling a very basic latex file – no formulas, maths symbols, etc – including \usepackage{MyriadPro}, and no font change whatsoever; on a more complex file, when using the package, the “text” font remains the same, while some of the math goes Myriad, but a lot does not (i.e. \pi, \alpha, …) and I just got some “nice” crossed squares.
No peculiar error are shown when generating the dvi, so I’m a bit lost.
Any idea?
If needed, I can provide the .tex files via mail.
Thanks in advance.
May 12, 2011 at 10:01 am
Just forgot:
I’ve installed texlive via repository on kubuntu 11.04
May 12, 2011 at 10:24 am
You don’t need MinionPro nor CronosPro to have MyriadPro working. Only MnSymbol is required (should be included in TeXlive). You only need CronosPro if want to use the swash letters of CronosPro in MyriadPro’s math. MyriadPro does not have swash letters and the mathcal letters of MnSymbol do not fit nicely.
Also I had to rename the CronosPro files to follow Minion and Myriad naming scheme: eg CronosPro-ItDisp.otf (IIRC in the original naming scheme, Disp came before it). This could be the reason for the error.
Yes, please send me the tex file.
May 13, 2011 at 11:15 am
Hi again, everything is fine now. Thanks a lot for your kindness and your time ;)
M.