![]() |
#1036 |
Junior Member
![]() Posts: 4
Karma: 12
Join Date: May 2022
Device: Kindle Voyage
|
|
![]() |
![]() |
![]() |
#1037 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Jun 2022
Location: china
Device: pw3
|
ImportError: The _imagingft C module is not installed
hello , My device PW3 , i install this Update_python3_0.15.N_install_pw2_and_up.bin
there is a question pillow freetype module has a problem import ImageFont ImportError: The _imagingft C module is not installed Looking forward to your answer. thanks~ ![]() |
![]() |
![]() |
![]() |
#1038 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,453
Karma: 22222970
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2 & PW5; Kobo H2O, Forma, Elipsa & Sage
|
@ShaderFallback: Would you happen to have a simple testcase so that I can repro that whenever I have time to update this?
|
![]() |
![]() |
![]() |
#1039 | |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Jun 2022
Location: china
Device: pw3
|
Quote:
------------------------------------------------------------------------ import sys import os from PIL import Image,ImageDraw,ImageFont,ImageChops rootPath = os.path.abspath(os.path.dirname(__file__)) fontPath = rootPath + "/lib/font.ttf" fontSize16 = ImageFont.truetype(fontPath, 16) Himage = Image.new('1', (800, 600), 255) draw = ImageDraw.Draw(Himage) draw.text((34, 70), "HelloWorld", font = fontSize16, fill = 0) ------------------------------------------------------------------------ my complete code https://github.com/ShaderFallback/Ki...alendarWeather it is at “KT2” can work , “PW3” not work Thanks again~ ![]() |
|
![]() |
![]() |
![]() |
#1040 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Jun 2022
Location: china
Device: pw3
|
|
![]() |
![]() |
![]() |
#1041 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,453
Karma: 22222970
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2 & PW5; Kobo H2O, Forma, Elipsa & Sage
|
I assume you may simply have installed an older snapshot build on your KT2, because there shouldn't be anything device-specific involved here
![]() |
![]() |
![]() |
![]() |
Tags |
hacks, kindle, niluje |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Tools Snapshots of Coplate's packages | coplate | Kindle Developer's Corner | 103 | 01-10-2019 09:15 AM |
NiLuJe offline? | picree | Kindle Developer's Corner | 1 | 09-28-2016 10:29 PM |
I removed the hacks, installed 3.1, then new hacks, and now Kindle is dead | cloudyvisions | Amazon Kindle | 49 | 12-15-2011 01:55 AM |
Snapshots test in Live version | Michele Clinco | OpenInkpot | 7 | 09-08-2009 02:42 PM |