File: postflight

package info (click to toggle)
libavg 1.8.1-1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 23,164 kB
  • ctags: 21,878
  • sloc: cpp: 84,221; python: 17,112; sh: 1,288; ansic: 783; makefile: 487; xml: 94
file content (17 lines) | stat: -rw-r--r-- 478 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/env python2.7

import sys
#sys.stdout = open("/Users/uzadow/Desktop/postflight.log", "w")
print "Starting postinstall..."
from libavg import avg

print "Building font cache. This can take a while."
Player=avg.Player.get()
Player.loadString("""
          <avg width="160" height="120">
            <words x="1" y="1" fontsize="12" font="Bitstream Vera Sans" 
                text="Bitstream Vera Sans" variant="roman"/>
          </avg>
""")
print "Done."
sys.exit(0)