Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re^2: Image::Thumbnail work under windows but not on linux

by jcb (Parson)
on Aug 15, 2019 at 02:31 UTC ( [id://11104499]=note: print w/replies, xml ) Need Help??


in reply to Re: Image::Thumbnail work under windows but not on linux
in thread Image::Thumbnail work under windows but not on linux

On a side note, the default <code> font makes distinguishing single and double quotes rather difficult here; any advice on something to add to my custom CSS in display settings to make it more readable? I like the reduced type size for code, but the " looks almost exactly like a bold ' (') here.

Replies are listed 'Best First'.
Re^3: Image::Thumbnail work under windows but not on linux (code font)
by hippo (Bishop) on Aug 15, 2019 at 08:03 UTC

    As haukex wrote, the monospace font is set in your browser config. However, there is one setting here which may help. In Display Settings, in the Code Listing Settings there is an option "Large Code Font" which, if checked, will increase the font size of the code listings without changing the font face. That might be all you need?

      I tried the "Large Code Font" option, which does increase the font size, but I prefer the smaller code font.

      On a side note, all "Large Code Font" does is suppress a <font size="-1"> tag around the code block. If you prefer CSS, the text in large code blocks can be matched with tt.codetext and inline code text can be matched with tt.inlinecode. Since the <tt> tag overrides the font-family, matching the outer p.code is not useful here.

      Bizarrely, if you want to use CSS to customize this, you will need to check "Large Code Font" — otherwise the <font> tags will override your careful efforts.

Re^3: Image::Thumbnail work under windows but not on linux
by haukex (Archbishop) on Aug 15, 2019 at 06:52 UTC

    PM doesn't seem to enforce any font on its <pre> tags, so it should be using whatever is the default fixed-width font in your browser, so you should be able to change it in your browser's settings. If you're on Windows, I like the new "Consolas" font, and on Ubuntu, "Ubuntu Mono" isn't bad.

      Thanks! Changing the default font solved the problem.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11104499]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2024-04-25 15:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found