PDF disabled on Ubuntu 10.04

Bug #976850 reported by Rena Willis on 2012-04-08
This bug affects 1 person
Affects Status Importance Assigned to Milestone
schooltool (Ubuntu)
Gediminas Paulauskas

Bug Description

Running on Ubuntu 10.04 Schooltool 2.0

PDF is disabled error when trying to print. Discovered that the following font file was missing from the install:


I first copied it to the ubuntu font family directory, no joy. Then copied it to the liberation font directory AND restarted schooltool. Not sure if the restart of schooltool or the copy to the liberation font family directory was what got it, but for sure the font is missing.

This was a clean install of both Ubuntu and Schooltool.

Tom Hoffman (tom-hoffman) wrote :

Try this:

edit /etc/schooltool/standard/schooltool.conf and ensure that reportlab_fontdir contains ubuntu-font-family, like this:

reportlab_fontdir /usr/share/fonts/truetype/ttf-liberation:/usr/share/fonts/truetype/ubuntu-font-family

and that the fonts are installed:

apt-get install fonts-ubuntu-font-family

Gediminas Paulauskas (menesis) wrote :

This only affects Ubuntu 10.04, because the filename of that font is different. I have now added a patch that looks for correct file, and uploaded to the ppa:schooltool-owners/dev PPA.

To get Ubuntu font on 10.04, lucid-updates repository needs to be enabled in /etc/apt/sources.list

To install the font,

  apt-get install ttf-ubuntu-font-family

But you probably have it already, it was a bug in code.

Changed in schooltool:
assignee: nobody → Gediminas Paulauskas (menesis)
status: New → Fix Released
importance: Undecided → High
affects: schooltool → schooltool (Ubuntu)
Changed in schooltool (Ubuntu):
assignee: Gediminas Paulauskas (menesis) → nobody
summary: - PDF disabled when trying to print
+ PDF disabled on Ubuntu 10.04
Changed in schooltool (Ubuntu):
assignee: nobody → Gediminas Paulauskas (menesis)
Gediminas Paulauskas (menesis) wrote :

This bug was fixed by upload to flourish ppa:

schooltool (1:2.1.0-0ubuntu1~lucid2) lucid; urgency=low

  * debian/patches/ubuntu-font.patch: add, italic font is named differently on
  * debian/patches/testbrowser.patch: remove, fixed upstream.

 -- Gediminas Paulauskas <email address hidden> Wed, 09 May 2012 16:09:04 +0300

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

Other bug subscribers