Changeset 385d02 in indico
- Timestamp:
- 12/15/09 15:38:23 (4 years ago)
- Branches:
- master, burotel, hello-world-walkthrough, ipv6, new-webex, prov-dual-interface, v0.97-series, v0.98-series, v0.98.2, v0.98.3, v0.98b1, v0.98b2, v0.99, b8c30da8ebdbdcbd675a873997cc3e95f567de49, 4287315ec967a3da168d83963c14001db8487d53
- Children:
- bbd65a, f3d0f4
- Parents:
- c6cd5e
- git-author:
- Pedro Ferreira <jose.pedro.ferreira@…> (12/15/09 15:25:31)
- git-committer:
- Pedro Ferreira <jose.pedro.ferreira@…> (12/15/09 15:38:23)
- Location:
- indico/MaKaC
- Files:
-
- 3 edited
-
PDFinterface/base.py (modified) (1 diff)
-
PDFinterface/conference.py (modified) (2 diffs)
-
webinterface/tpls/ConfModifPosterDesign.tpl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
indico/MaKaC/PDFinterface/base.py
r9033fd r385d02 133 133 134 134 def setTTFonts(): 135 dir=os.path.split(os.path.abspath(__file__))[0] 136 dir=os.path.join(dir, "ttfonts") 137 #pdfmetrics.registerFont(TTFont('symbol', os.path.join(dir,'symbol.ttf'))) 138 pdfmetrics.registerFont(TTFont('Times-Roman', os.path.join(dir,'times.ttf'))) 139 pdfmetrics.registerFont(TTFont('Times-Bold', os.path.join(dir, 'timesbd.ttf'))) 140 pdfmetrics.registerFont(TTFont('Times-Italic', os.path.join(dir,'timesi.ttf'))) 141 pdfmetrics.registerFont(TTFont('Times-Bold-Italic', os.path.join(dir, 'timesbi.ttf'))) 142 pdfmetrics.registerFont(TTFont('Courier', os.path.join(dir, 'cour.ttf'))) 143 pdfmetrics.registerFont(TTFont('Courier-Bold', os.path.join(dir, 'courbd.ttf'))) 144 pdfmetrics.registerFont(TTFont('Courier-Italic', os.path.join(dir, 'couri.ttf'))) 145 pdfmetrics.registerFont(TTFont('Courier-Bold-Italic', os.path.join(dir, 'courbi.ttf'))) 146 pdfmetrics.registerFont(TTFont('OhMyGodStars', os.path.join(dir, 'OhMyGodStars.ttf'))) 147 pdfmetrics.registerFont(TTFont('Optima-Thin', os.path.join(dir, 'Optima-Thin.ttf'))) 148 #pdfmetrics.registerFont(TTFont('Bitstream-Cyberbit', os.path.join(dir, 'Cyberbit.ttf'))) 149 pdfmetrics.registerFont(TTFont('LinuxLibertine', os.path.join(dir, 'LinLibertine_Re-2.8.14.ttf'))) 150 pdfmetrics.registerFont(TTFont('LinuxLibertine-Bold', os.path.join(dir, 'LinLibertine_Bd-2.8.1.ttf'))) 151 pdfmetrics.registerFont(TTFont('LinuxLibertine-Italic', os.path.join(dir, 'LinLibertine_BI-2.8.0.ttf'))) 152 pdfmetrics.registerFont(TTFont('LinuxLibertine-Bold-Italic', os.path.join(dir, 'Optima-Thin.ttf'))) 135 # Import fonts from indico.extra (separate package) 136 import indico.extra.fonts 137 138 dir=os.path.split(os.path.abspath(indico.extra.fonts.__file__))[0] 139 pdfmetrics.registerFont(TTFont('Times-Roman', os.path.join(dir,'LiberationSerif-Regular.ttf'))) 140 pdfmetrics.registerFont(TTFont('Times-Bold', os.path.join(dir, 'LiberationSerif-Bold.ttf'))) 141 pdfmetrics.registerFont(TTFont('Times-Italic', os.path.join(dir,'LiberationSerif-Italic.ttf'))) 142 pdfmetrics.registerFont(TTFont('Times-Bold-Italic', os.path.join(dir, 'LiberationSerif-BoldItalic.ttf'))) 143 pdfmetrics.registerFont(TTFont('Courier', os.path.join(dir, 'LiberationMono-Regular.ttf'))) 144 pdfmetrics.registerFont(TTFont('Courier-Bold', os.path.join(dir, 'LiberationMono-Bold.ttf'))) 145 pdfmetrics.registerFont(TTFont('Courier-Italic', os.path.join(dir, 'LiberationMono-Italic.ttf'))) 146 pdfmetrics.registerFont(TTFont('Courier-Bold-Italic', os.path.join(dir, 'LiberationMono-BoldItalic.ttf'))) 147 pdfmetrics.registerFont(TTFont('LinuxLibertine', os.path.join(dir, 'LinLibertine_Re-4.4.1.ttf'))) 148 pdfmetrics.registerFont(TTFont('LinuxLibertine-Bold', os.path.join(dir, 'LinLibertine_Bd-4.1.0.ttf'))) 149 pdfmetrics.registerFont(TTFont('LinuxLibertine-Italic', os.path.join(dir, 'LinLibertine_It-4.0.6.ttf'))) 150 pdfmetrics.registerFont(TTFont('LinuxLibertine-Bold-Italic', os.path.join(dir, 'LinLibertine_BI-4.0.5.ttf'))) 153 151 pdfmetrics.registerFont(TTFont('Kochi-Mincho', os.path.join(dir, 'kochi-mincho-subst.ttf'))) 154 152 pdfmetrics.registerFont(TTFont('Kochi-Gothic', os.path.join(dir, 'kochi-gothic-subst.ttf'))) -
indico/MaKaC/PDFinterface/conference.py
r0c8aad r385d02 2548 2548 __fonts = {'Times New Roman':['Times-Roman','Times-Bold','Times-Italic','Times-Bold-Italic'], 2549 2549 'Courier':['Courier', 'Courier-Bold', 'Courier-Italic', 'Courier-Bold-Italic'], 2550 'OhMyGodStars':['OhMyGodStars','OhMyGodStars','OhMyGodStars','OhMyGodStars'],2551 'OptimaThin':['Optima-Thin','Optima-Thin','Optima-Thin','Optima-Thin'],2552 2550 'LinuxLibertine':['LinuxLibertine','LinuxLibertine-Bold','LinuxLibertine-Italic','LinuxLibertine-Bold-Italic'], 2553 2551 'Kochi-Mincho':['Kochi-Mincho','Kochi-Mincho','Kochi-Mincho','Kochi-Mincho'], … … 2805 2803 __fonts = {'Times New Roman':['Times-Roman','Times-Bold','Times-Italic','Times-Bold-Italic'], 2806 2804 'Courier':['Courier', 'Courier-Bold', 'Courier-Italic', 'Courier-Bold-Italic'], 2807 'OhMyGodStars':['OhMyGodStars','OhMyGodStars','OhMyGodStars','OhMyGodStars'],2808 'OptimaThin':['Optima-Thin','Optima-Thin','Optima-Thin','Optima-Thin'],2809 2805 'LinuxLibertine':['LinuxLibertine','LinuxLibertine-Bold','LinuxLibertine-Italic','LinuxLibertine-Bold-Italic'], 2810 2806 'Kochi-Mincho':['Kochi-Mincho','Kochi-Mincho','Kochi-Mincho','Kochi-Mincho'], -
indico/MaKaC/webinterface/tpls/ConfModifPosterDesign.tpl
r9033fd r385d02 816 816 <option>Times New Roman</option> 817 817 <option>Courier</option> 818 <option>OhMyGodStars</option>819 <option>OptimaThin</option>820 818 </optgroup> 821 819 <optgroup label="Special Character Fonts">
Note: See TracChangeset
for help on using the changeset viewer.
