lout-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: @FontDef problem


From: Monty Zukowski
Subject: Re: @FontDef problem
Date: Mon, 10 Sep 2007 10:21:43 -0700

Using the @Database got things to work for me.

Thanks,

Monty

On 9/6/07, Jeff Kingston <address@hidden> wrote:
> I'm not sure why Lout crashed on your input;  I tried a
> similar thing:
>
>   @SysInclude {doc}
>   address@hidden
>     @Tag {Minion-Base}
>     @Family {Minion}
>     @Face {Base}
>     @Name {MinionPro-CnCapt}
>     @Metrics {Ti-Rm}
>     @Mapping {LtLatin1.LCM}
>   }
>
>   @Doc @Text @Begin
>   @CD @Heading { Test of FontDef }
>   {Minion Base 9p} @Font { hello there }
>   @End @Text
>
> and got:
>
>   lout -s t1 >op
>   lout file "t1":
>       13,9: there is no font with family name Minion and face name Base
>
> The Expert's Guide says that @FontDef symbols are supposed to appear
> in a database, so the first thing to try would be to move your @FontDef
> into a database, following the model of the line
>
>    @SysDatabase @FontDef  { fontdefs }            # font definitions
>
> at the end of file doc, although your line would probably be
>
>    @Database @FontDef  { myfontdefs }             # my font definitions
>
> While I can't get Lout to crash at this end I can't do much, but I
> will look into what it thinks it's doing with @FontDefs that are not
> in a database, and if there seems to be a reason why they need to
> be in one, I'll make sure it prints a fatal error when they aren't.
>
> Jeff
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]