class option 'sans' is ignored when using polyglossia

Bug #1175526 reported by Stefan Fischer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
moderncv
New
Undecided
Xavier Danaux

Bug Description

\documentclass[11pt,a4paper,sans]{moderncv}
...
\usepackage{polyglossia}
\setdefaultlanguage{german}
...

XeLaTeX + moderncv
------------------
- Loading polyglossia is fine.
- But using polyglossia's \setdefaultlanguage{...} command results in a document with a *serif* font.

description: updated
description: updated
Revision history for this message
Xavier Danaux (xdanaux) wrote :

Just so I understand:
 - without polyglossia, you get your resume with a sans font, but
 - with polyglossia and \setdefaultlanguage{german}, you get a serif font despite the sans class option.

Is that correct? If it is the case, the problem seem rather to be with polyglossia imho. Also, what style variant are you using?

Changed in moderncv:
assignee: nobody → Xavier Danaux (xdanaux)
Revision history for this message
Stefan Fischer (sfischer13) wrote :

I use \moderncvtheme[red]{banking}.

This doesn't cause a problem. That is, I get a sans serif font.
\usepackage{polyglossia}

But when I additionally call 'setdefaultlanguage', I get a serif font.
\usepackage{polyglossia}
\setdefaultlanguage{german}

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.