[XeTeX] \font syntax
Roland Kuhn
rkuhn at e18.physik.tu-muenchen.de
Tue Jul 31 14:30:30 CEST 2007
Hi Jonathan!
On 31 Jul 2007, at 13:27, Jonathan Kew wrote:
>> but why not use the 'tfm search' as a fallback then? if a "name"
>> cannot
>> be resolved, search for a tfm one instead
>
> As I mentioned, XeTeX used to do this, but I'm not entirely convinced
> it's a good idea. E.g., error messages may be less confusing if it's
> clear which kind of font (or search) is being requested. But I'm
> interested to hear what people think.... anyone else with opinions on
> this?
>
I'm sure my vote does not carry as much weight as that of someone who
actually contributed code/etc., but I find your reasoning consistent
and matching my own expectations. Trying hard to guess what a user
might have wanted usually fails catastrophically. The only case known
to me which is at least debatable is Perl ;-) I think it is better to
give a clear error message than to magically "fix" user errors. The
argument of a robust interface is flawed exactly because TFM and OTF
have different behaviour per se.
Ciao,
Roland
--
TU Muenchen, Physik-Department E18, James-Franck-Str., 85748 Garching
Telefon 089/289-12575; Telefax 089/289-12570
--
CERN office: 892-1-D23 phone: +41 22 7676540 mobile: +41 76 487 4482
--
Any society that would give up a little liberty to gain a little
security will deserve neither and lose both. - Benjamin Franklin
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GS/CS/M/MU d-(++) s:+ a-> C+++ UL++++ P+++ L+++ E(+) W+ !N K- w--- M
+ !V Y+
PGP++ t+(++) 5 R+ tv-- b+ DI++ e+++>++++ h---- y+++
------END GEEK CODE BLOCK------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://tug.org/pipermail/xetex/attachments/20070731/18b12ce6/attachment.bin
More information about the XeTeX
mailing list