freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft] face->ascender always has the same height


From: Olumide
Subject: Re: [ft] face->ascender always has the same height
Date: Tue, 29 Nov 2016 14:00:49 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.0

On 29/11/2016 12:49, Lawrence D'Oliveiro wrote:
On Tue, 29 Nov 2016 10:49:17 +0000, Olumide wrote:

I'd like to run your python scripts but I can't import freetype2 from
python.

My Python binding is this one <https://github.com/ldo/python_freetype>.


The bindings seem to be looking for shared objects on Windows. BTW, I installed on Cygwin.

Traceback (most recent call last):
  File "FreeTypeIssue.py", line 2, in <module>
    import freetype2 as ft
File "/usr/lib/python3.4/site-packages/freetype2.py", line 47, in <module>
    ft = ct.cdll.LoadLibrary("libfreetype.so.6")
  File "/usr/lib/python3.4/ctypes/__init__.py", line 429, in LoadLibrary
    return self._dlltype(name)
  File "/usr/lib/python3.4/ctypes/__init__.py", line 351, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: No such file or directory

- Olumide





reply via email to

[Prev in Thread] Current Thread [Next in Thread]