5, in get_font_runs
ft = self.get_font(dpi=dpi)
File "/usr/local/lib/python3.4/dist-packages/pyglet/text/document.py",
line 615, in get_font
bold=bool(bold), italic=bool(italic), dpi=dpi)
File "/usr/local/lib/python3.4/dist-packages/pyglet/font/__init__.py",
line 648, in load
font = _font_class(name, size, bold=bold, italic=italic, dpi=dpi)
File "/usr/local/lib/python3.4/dist-packages/pyglet/font/freetype.py",
line 247, in __init__
self._set_face(self._load_font_face())
File "/usr/local/lib/python3.4/dist-packages/pyglet/font/freetype.py",
line 272, in _load_font_face
memory_font = self._get_memory_font(self.name, self.bold, self.italic)
File "/usr/local/lib/python3.4/dist-packages/pyglet/font/freetype.py",
line 359, in _get_memory_font
lname = name and name.lower() or ''
AttributeError: 'FreeTypeFont' object has no attribute 'lower'
On Friday, August 21, 2015 at 9:58:40 AM UTC-5, Jason Spashett wrote:
>
> Can you give the error message you are getting?
>
> I can't run your example at the moment: TypeError: listdir() takes exactly
> 1 argument (0 given)
>
> On Friday, 21 August 2015 06:17:39 UTC+1, Jesse Cox wrote:
>>
>> I'm trying to distrubute the Ubuntu Mono font with a media player I'm
>> developing: https://github.com/ki4jgt/SIMP
>>
>> Whenever I try to use uMono on line 168 (defined on line 27), it
>> complains about missing lower cases or something. Is there any way I can
>> modify the file so that it is compatible with Pyglet?
>>
>
--
You received this message because you are subscribed to the Google Groups
"pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/d/optout.