Root/plplot/patches/060-font-size.patch

1Index: plplot-5.9.7/src/plpage.c
2===================================================================
3--- plplot-5.9.7.orig/src/plpage.c 2011-01-09 14:23:21.000000000 +0100
4+++ plplot-5.9.7/src/plpage.c 2011-01-09 14:37:42.000000000 +0100
5@@ -152,9 +152,12 @@
6 // Reduce sizes with plot area (non-proportional, so that character
7 // size doesn't get too small).
8 //
9+ /* on small screens this won't work right. decrease virtual page length
10+ * to match the nanonote's small screen */
11     scale = 0.5 *
12             ( ( plsc->phyxma - plsc->phyxmi ) / plsc->xpmm +
13- ( plsc->phyyma - plsc->phyymi ) / plsc->ypmm ) / 200.0;
14+ ( plsc->phyyma - plsc->phyymi ) / plsc->ypmm ) / 160.0;
15+ /* was: /200.0 */
16 
17     // Take account of scaling caused by change of orientation
18     if ( plsc->difilt && PLDI_ORI )
19

Archive Download this file



interactive