Log of #mupdf at irc.freenode.net.

Search:
 <<<Back 1 day (to 2018/10/21)20181022 
Klaus_Dieter hello world07:58.50 
  I have not found this in the manual and I wonder whether there is a way to crop margins with mupdf.07:59.31 
tokyovigilante Hi, I'm having an issue getting mupdf to read a user css stylesheet09:09.12 
  I just want to change font to a user-installed one, but when I try mupdf -U <stylesheet> it isn't loaded.09:09.42 
  The same stylesheet works fine if I unzip the epub and insert the stylesheet directly into the page09:10.01 
  Is there any way to get debug output from the viewer?09:10.22 
  I'm on Fedora 29, mupdf 1.1309:11.14 
tor8 tokyovigilante: that's strange. I use the -U flag often.09:52.02 
  Klaus_Dieter: I'm not quite sure what you mean, but I suspect the answer will be no.09:52.53 
tokyovigilante @tor8 presumably PEBKAC then, do I need an absolute path or anything else?09:54.41 
tor8 no, a relative path should be enough.09:54.56 
  it should complain if it can't load the file09:55.12 
  btw, -U will only add more styles to the stylesheet, it won't replace the embedded styles09:55.47 
  if you want to do that you will need the -X flag too, to disable the document styles09:56.03 
tokyovigilante No I figured that, I've literally just got p { font-family: <FONT>; !important }09:56.28 
  I don't get an error even with a purposely-incorrect css file path so that's why I was wondering about debug output09:56.54 
tor8 the !important should be before the ;09:57.03 
tokyovigilante oh yup it is in the real file09:57.14 
tor8 what are you using for <FONT>?09:57.20 
  if it's not one of the built-in or document supplied fonts, you will laso need an @font-face to go with it to load the font file09:57.57 
tokyovigilante Here's the actual line09:58.24 
  p { font-family: "Verdigris MVB Pro Text" !important; }09:58.26 
tor8 it might be that it can't find the Verdigirs MVB Pro Text font when it loads your user stylesheet, but when in the document it has already loaded or found that font09:59.10 
tokyovigilante I've installed that font in ~/.fonts, updated fc-cache, and it's available in LibreOffice, and works in Firefox with the css added to a random html file09:59.12 
tor8 we don't use fontconfig for finding fonts09:59.23 
tokyovigilante ok, I did try a @font-face too, but can re-add09:59.43 
tor8 you'll need something like @font-face { src: "/home/ME/.fonts/Verdigris.ttf"; font-family:"Verdigris"; }09:59.57 
  it's best to have an absolute path to the src: in the @font-face10:00.54 
  http://ix.io/1pKE I use a custom CSS like this to replace the default 'serif' font with one of my choosing and increase the line spacing10:02.11 
tokyovigilante great thanks, will give it a try10:21.23 
  @tor8 great thanks, that works well10:39.13 
tor8 tokyovigilante: nice.11:13.46 
tokyovigilante does mupdf support css columns?11:41.10 
tor8 tokyovigilante: nope.11:57.12 
 Forward 1 day (to 2018/10/23)>>> 
ghostscript.com #ghostscript
Search: