Am Mittwoch, den 17.07.2019, 18:09 +0200 schrieb Jürgen Spitzmüller:
> Am Mittwoch, den 17.07.2019, 17:53 +0200 schrieb Kornel Benko:
> > +Font Chivo
> > +   GuiName          "Chivo"
> > +   Family           sf
> > +   OsfOption       oldstyle
> > +   Package          Chivo
> > +   PackageOption    "regular"
> 
> The PackageOption is not needed. Regular is default.
> 
> > --- a/src/LaTeXFonts.cpp
> > +++ b/src/LaTeXFonts.cpp
> > @@ -388,6 +388,7 @@ bool LaTeXFont::readFont(Lexer & lex)
> >             { "ot1font",              LF_OT1_FONT },
> >             { "package",              LF_PACKAGE },
> >             { "packageoption",        LF_PACKAGEOPTION },
> > +           { "packageoptions",       LF_PACKAGEOPTION },
> 
> Accidental commit?
> 
> > @ -1135,6 +1135,38 @@ void Preamble::handle_package(Parser &p,
> > string const & name,
> >             options.clear();
> >     }
> >  
> > +   if (name == "Chivo") {
> > +           h_font_roman[0] = "Chivo";
> 
> h_font_roman setting is not necessary if the lyx name and the package
> name are identical. You can remove this line.

Also, don't forget the FORMAT entry.

Jürgen

> 
> Jürgen

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to