mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-05 14:10:52 +03:00
b2a2f16b23
This reverts commit001b46c670
, reversing changes made to8beb66443b
.
14 lines
308 B
Python
14 lines
308 B
Python
from tester import *
|
|
|
|
from PIL import Image, FontFile, BdfFontFile
|
|
|
|
filename = "Images/courB08.bdf"
|
|
|
|
def test_sanity():
|
|
|
|
file = open(filename, "rb")
|
|
font = BdfFontFile.BdfFontFile(file)
|
|
|
|
assert_true(isinstance(font, FontFile.FontFile))
|
|
assert_equal(len([_f for _f in font.glyph if _f]), 190)
|