You dont specify fonts to embed via @font-face rules. You simply specify the font-families and use the embed all fonts setting. And you want to match on new lines/other invisible characters in regex use the escaped form for the characters. There are many different escaped forms you can use (calibre uses the python regex engine). For example to match newlines, use
\n
@viewport is not a valid CSS 2.1 or 3 rule.
|