Use free fonts instead of msttcorefonts

Bug #371655 reported by Tom Hoffman on 2009-05-04
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SchoolTool
High
Gediminas Paulauskas

Bug Description

I can't remember why we don't do this by default. I think it is just inertia. Is there a real reason? It isn't like we don't have a lot of dependencies already...

Changed in schooltool:
importance: Undecided → High
milestone: none → karmic
assignee: nobody → Gediminas Paulauskas (menesis)
status: New → Triaged
Changed in schooltool:
milestone: karmic → 2009.4.12
Ignas Mikalajūnas (ignas) wrote :

Reportlab *is* being installed with schooltool, though msttcorefonts are not which is why reports are disabled by default.

One of the reasons might be that it's a multiverse package or something like that. So if we will add it to our dependencies, we probably should update the instructions.

Tom Hoffman (tom-hoffman) wrote :

Yes, I think it is the unfree software part -- it is in universe, iirc. I guess I can only call SchoolTool 99 44/100% pure now.

Gediminas Paulauskas (menesis) wrote :

I will add Suggests: msttcorefonts to the next python-schooltool release, but that will not automatically install those fonts. The suggestion to install these fonts is documented in README.txt, but that should be added to The Book, Installation section as well.

Gediminas Paulauskas (menesis) wrote :

Another option is to use different fonts, for example ttf-liberation, that are compatible with Arial and Times New Roman, but free. This would need changes both to the source and configuration file, and testing that the resulting pdf files look good (should be identical) with various languages, readers, and platforms. So not for 2009.4.12

Tom Hoffman (tom-hoffman) wrote :

OK, I'll update the book, but definitely I'd like to do ttf-liberation sooner rather than later. It isn't like we have a lot of reports to update, so now is the time to do it.

summary: - install reportlab by default
+ Install truetype fonts
Changed in schooltool:
milestone: 2009.4.12 → karmic
Changed in schooltool:
importance: High → Medium
tags: added: deployment
summary: - Install truetype fonts
+ Use free fonts instead of msttcorefonts
Changed in schooltool:
importance: Medium → High
Changed in schooltool:
status: Triaged → Fix Committed
milestone: next → 1.6.0
Gediminas Paulauskas (menesis) wrote :

You have to edit the schooltool.conf (or main.conf) file and change "msttcorefonts" to "ttf-liberation". You also have to install the fonts:

$ sudo apt-get install ttf-liberation

Until you do that, report generation will be disabled.

Changed in schooltool:
status: Fix Committed → Fix Released
Tom Hoffman (tom-hoffman) wrote :

Why isn't this by default? is ttf-liberation in multiverse?

2011/4/6 Tom Hoffman <email address hidden>:
> Why isn't this by default?  is ttf-liberation in multiverse?

The new schooltool package in Natty has reports enabled by default.

But existing instances running from source have to be modified
manually, and the package installed. make ubuntu-environment has been
updated, but still one has to remember to run it.

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

Other bug subscribers