CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • [Solved] Default font in wkhtmltopdf
Pages: [1]

Author Topic: [Solved] Default font in wkhtmltopdf  (Read 5389 times)

krypto

  • I post occasionally
  • **
  • Posts: 69
  • Karma: 5
  • IT guy for @bhahumanists. Running Civi on WP.
    • British Humanist Association
  • CiviCRM version: 4.5.8
  • CMS version: WordPress 4.x
  • MySQL version: 5.5.x
  • PHP version: 5.5.x
[Solved] Default font in wkhtmltopdf
September 26, 2013, 11:08:08 am
Does anyone happen to know where the default font for wkhtmltopdf is set? It doesn't seem to respect the CKEditor default and uses some serif thing (though if there's a font specified in CKEditor it works fine). I've had a dig around but can't see it on a first pass...
« Last Edit: September 27, 2013, 05:06:19 am by krypto »

krypto

  • I post occasionally
  • **
  • Posts: 69
  • Karma: 5
  • IT guy for @bhahumanists. Running Civi on WP.
    • British Humanist Association
  • CiviCRM version: 4.5.8
  • CMS version: WordPress 4.x
  • MySQL version: 5.5.x
  • PHP version: 5.5.x
Re: Default font in wkhtmltopdf
September 27, 2013, 05:06:04 am
Got it: PDFs use print.css in /css, which sets DejaVu Sans by default.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • [Solved] Default font in wkhtmltopdf

This forum was archived on 2017-11-26.