5,493 reputation
1630
bio website bitbucket.org/phg
location Golgafrincham
age
visits member for 2 years, 7 months
seen Oct 26 at 8:29

Jan
6
comment ConTeXt: Ignore stem height
Try \inframed[align=right, frame=on, location=height]{%, the frame will be positioned relative to the baseline (not the depth) of the text.
Jan
6
comment Selecting optical sizes for all fonts in a family
* for \scriptsize, \small, \normalsize, and \large the italic font is coming up as medium italic.* This is weird. In my tests it’s all fine. Have you deleted all cache files? What does luaotfload-tool --find="Garamond Premier Pro/i/s=8" resolve to (that’s italics for \scriptsize / caption)?
Jan
6
comment Optical weight selection with fontspec
@Barrabas Thanks, the question is much clearer now! Please update the Luaotfload package to version 2.4 (only a couple days old). This issue should be fixed by now.
Jan
6
comment Optical weight selection with fontspec
Also, here’s a more complete test file: bitbucket.org/phg/lua-la-tex-tests/src/tip/… Run it with \setmainfont{Minion Pro}, the output is valuable for debugging.
Jan
6
comment Selecting optical sizes for all fonts in a family
@bfootdav is this still an issue with version 2.4?
Jan
6
comment Optical weight selection with fontspec
1) Small caps for Latin Modern come as separate font, not a feature, and just like with CM they are only available at the default 10pt size. 2) fontspec seems not to choose the appropriate optical weight -- well, which weight does it choose for what size? The optical sizes of Minion Pro aren’t available as a free font, so the testing needs to be done by somebody who owns it. Can you run the script posted here and paste the output somewhere?
Jan
6
comment ConTeXt: Scale font for text based on maximum width
Search the list, this comes up every once in a while. For example, the undocumented \FittingText macro was revealed some time ago. I agree with @Aditya though that if you wish to fit only a single line, scaling the box itself is worth a try.
Jan
4
awarded  Necromancer
Jan
4
revised fontspec option “Renderer=Basic” - what does it mean?
address the actualy question ;-)
Jan
4
awarded  Revival
Jan
4
revised fontspec option “Renderer=Basic” - what does it mean?
extend answer and add some code
Jan
4
revised fontspec option “Renderer=Basic” - what does it mean?
add link to manual
Jan
4
answered fontspec option “Renderer=Basic” - what does it mean?
Jan
3
comment Compilation error with LuaLaTeX (luaotfload- database.lua)
@JuriRobl The italics of Minion Pro seem to deviate from the rest of the font with respect to naming convention. The next bugfix release of Luaotfload will come with a fix. Btw. if you want to look up a font name the way fontspec does it, you are going to have to use Xetex modifier syntax. E.g. luaotfload-tool --find="name:Minion Pro/I". This should work regardless of the insufficient full name lookup.
Jan
2
comment Why does fake slant only seem to work after italics has been used?
@jonalv At the moment you have to compile from source, which is pretty simple, though: 1) get the trunk from SVN foundry.supelec.fr/scm/?group_id=10 , 2) copy the file texmf.cnf from your tex live install to the source/texk/kpathsea directory, 3) in the luatex-trunk directory execute build.sh --parallel, 4) copy the binary from build/texk/web2c/luatex to the texlive bin directory, 5) remake the formats mktexfmt luatex etc., 6) profit. If you don’t have a compiler I’m afraid you are going to have to wait until somebody builds 0.78 for tex live.
Jan
2
comment Why does fake slant only seem to work after italics has been used?
Update: this bug is fixed in the latest Luatex, version 0.78.
Dec
30
comment Same mathematical fonts with LuaTeX and ConTeXt
What do you expect? You are using two entirely different fonts: URW Garamond in what appears to be Type1 format, and EB Garamond as OpenType. I couldn’t test your Latex code since texlive lacks the garamondx package. But these fonts are unlikely to be metrically compatible, let alone visually identical. Also, EB Garamond is not a math font. Lastly, I suggest getting rid of the \enableregime directive since it is anachronistic in 2013.
Dec
29
comment How to use Liberation fonts in ConTeXt?
@s9gf4ult Could be just a typo: The font is spelled “liberation”, without the extra “t”. Btw you can use wildcards, e.g. --pattern=liber* will show Liberation and Libertine, if installed.
Dec
28
comment Showcase TeX Typography for TUG's Calendar
I like that! Shameless plug: you might be interested in my Enigma package for Luatex: ctan.org/pkg/enigma
Dec
28
comment How to use Liberation fonts in ConTeXt?
@s9gf4ult Also try forcing the search path: OSFONTDIR=/path/to/font mtxrun --script fonts --reload