tests/test_platypus_general.py
changeset 2977 beca8d75f400
parent 2967 ea62529bd1df
child 2984 c63f149d55aa
--- a/tests/test_platypus_general.py	Fri Sep 05 17:32:23 2008 +0000
+++ b/tests/test_platypus_general.py	Wed Sep 10 17:57:51 2008 +0000
@@ -283,9 +283,9 @@
 
     from reportlab.pdfbase import pdfmetrics
     fontDir = os.path.join(_RL_DIR,'fonts')
-    face = pdfmetrics.EmbeddedType1Face(os.path.join(fontDir,'LeERC___.AFM'),
-            os.path.join(fontDir,'LeERC___.PFB'))
-    faceName = face.name  # should be 'LettErrorRobot-Chrome'
+    face = pdfmetrics.EmbeddedType1Face(os.path.join(fontDir,'DarkGardenMK.afm'),
+            os.path.join(fontDir,'DarkGardenMK.pfb'))
+    faceName = face.name  # should be 'DarkGardenMK'
     pdfmetrics.registerTypeFace(face)
     font = pdfmetrics.Font(faceName, faceName, 'WinAnsiEncoding')
     pdfmetrics.registerFont(font)
@@ -295,17 +295,17 @@
     story.append(Paragraph(
         """This is an ordinary paragraph, which happens to contain
         text in an embedded font:
-        <font name="LettErrorRobot-Chrome">LettErrorRobot-Chrome</font>.
+        <font name="DarkGardenMK">DarkGardenMK</font>.
         Now for the real challenge...""", styleSheet['Normal']))
 
 
     styRobot = ParagraphStyle('Robot', styleSheet['Normal'])
     styRobot.fontSize = 16
     styRobot.leading = 20
-    styRobot.fontName = 'LettErrorRobot-Chrome'
+    styRobot.fontName = 'DarkGardenMK'
 
     story.append(Paragraph(
-                "This whole paragraph is 16-point Letterror-Robot-Chrome.",
+                "This whole paragraph is 16-point DarkGardenMK.",
                 styRobot))''')
 
     story.append(FrameBreak())
@@ -466,8 +466,8 @@
 
     from reportlab.pdfbase import pdfmetrics
     fontDir = os.path.join(_RL_DIR,'fonts')
-    face = pdfmetrics.EmbeddedType1Face(os.path.join(fontDir,'LeERC___.AFM'),os.path.join(fontDir,'LeERC___.PFB'))
-    faceName = face.name  # should be 'LettErrorRobot-Chrome'
+    face = pdfmetrics.EmbeddedType1Face(os.path.join(fontDir,'DarkGardenMK.afm'),os.path.join(fontDir,'DarkGardenMK.pfb'))
+    faceName = face.name  # should be 'DarkGardenMK'
     pdfmetrics.registerTypeFace(face)
     font = pdfmetrics.Font(faceName, faceName, 'WinAnsiEncoding')
     pdfmetrics.registerFont(font)
@@ -477,17 +477,17 @@
     story.append(Paragraph(
         """This is an ordinary paragraph, which happens to contain
         text in an embedded font:
-        <font name="LettErrorRobot-Chrome">LettErrorRobot-Chrome</font>.
+        <font name="DarkGardenMK">DarkGardenMK</font>.
         Now for the real challenge...""", styleSheet['Normal']))
 
 
     styRobot = ParagraphStyle('Robot', styleSheet['Normal'])
     styRobot.fontSize = 16
     styRobot.leading = 20
-    styRobot.fontName = 'LettErrorRobot-Chrome'
+    styRobot.fontName = 'DarkGardenMK'
 
     story.append(Paragraph(
-                "This whole paragraph is 16-point Letterror-Robot-Chrome.",
+                "This whole paragraph is 16-point DarkGardenMK.",
                 styRobot))
     story.append(FrameBreak())