Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#49 2004-08-21 00:10:51

obeewan
Archived Plugin Author
From: Stockholm, Sweden
Registered: 2004-08-12
Posts: 319
Website

Re: [plugin] [ORPHAN] zem_image_replace, version 2

I’ve had some problems with my PFB typefaces but got thoose international characters sorted out finally. It was the typeface that lacked encoding in the .pfb file.

Read up on how to fix this


Plugins: ob1_advanced_search 1.032b, ob1_search_score 1.0, ob1_pagination 2.5, ob1_title 4.1, ob1_modified 2.1

“Let your plans be dark and as impenetratable as night, and when you move, fall like a thunderbolt.”
— Sun Tzu

Offline

#50 2004-08-21 19:27:37

Jeremie
Member
From: Provence, France
Registered: 2004-08-11
Posts: 1,578
Website

Re: [plugin] [ORPHAN] zem_image_replace, version 2

Is there a way to wrap the text before imaging ? To give a pixels or letters width, and the text word-wrap before the limit ?

Offline

#51 2004-08-22 08:26:22

obeewan
Archived Plugin Author
From: Stockholm, Sweden
Registered: 2004-08-12
Posts: 319
Website

Re: [plugin] [ORPHAN] zem_image_replace, version 2

Feature request: Kerning.

Is it possible through the PHP functions you use?


Plugins: ob1_advanced_search 1.032b, ob1_search_score 1.0, ob1_pagination 2.5, ob1_title 4.1, ob1_modified 2.1

“Let your plans be dark and as impenetratable as night, and when you move, fall like a thunderbolt.”
— Sun Tzu

Offline

#52 2004-08-22 12:58:33

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: [plugin] [ORPHAN] zem_image_replace, version 2

> Feature request: Kerning.
> Is it possible through the PHP functions you use?

No, unfortunately. More recent versions of GD have incorporated some basic options for line spacing with FT, but there’s no sign of kerning or character spacing options. Even if they were added to GD, I wouldn’t count on them working correctly – there have been some long standing bugs with character spacing and offsets in rotated text that seem to indicate the GD developers have precious few clues about typography.

(the rotation thing is why 0.4 isn’t yet released, incidentally)


Alex

Offline

#53 2004-08-22 22:33:55

valdok
Member
From: Chicago
Registered: 2004-03-14
Posts: 31
Website

Re: [plugin] [ORPHAN] zem_image_replace, version 2

Perfect…

Offline

#54 2004-08-26 17:39:10

kennethlove666
Member
From: arkansas
Registered: 2004-04-27
Posts: 107
Website

Re: [plugin] [ORPHAN] zem_image_replace, version 2

all i get is a blank screen, or, with info=1, a listing that gd and freetype are not supported. my host assures me that gd is, and phpinfo() lists it. any ideas?


Listen to Kenneth

Offline

#55 2004-08-26 22:52:32

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: [plugin] [ORPHAN] zem_image_replace, version 2

If info=1 says that GD and freetype aren’t supported, that means that the “imagettfbbox” and “imagefttext” functions are not callable. I have no idea why that would be the case if they’re installed.

Does this raise any errors?

<code>
<?php
ERROR_REPORTING(E_ALL);
ini_set(“display errors”, “1”);
$i = imagecreate(1,1);
echo imagesx($i) . “, “ . imagesy($i);
?>
</code>

Last edited by zem (2004-08-26 22:53:35)


Alex

Offline

#56 2004-08-26 23:18:30

kennethlove666
Member
From: arkansas
Registered: 2004-04-27
Posts: 107
Website

Re: [plugin] [ORPHAN] zem_image_replace, version 2

nope. just returns “1, 1”.


Listen to Kenneth

Offline

#57 2004-08-27 01:01:59

zem
Developer Emeritus
From: Melbourne, Australia
Registered: 2004-04-08
Posts: 2,579

Re: [plugin] [ORPHAN] zem_image_replace, version 2

Is your PHP version prior to 4.0.6 by any chance?


Alex

Offline

#58 2004-08-27 01:27:46

kennethlove666
Member
From: arkansas
Registered: 2004-04-27
Posts: 107
Website

Re: [plugin] [ORPHAN] zem_image_replace, version 2

nope. version 4.3.8


Listen to Kenneth

Offline

#59 2004-08-27 02:23:59

starzabove
Member
Registered: 2004-04-13
Posts: 76

Re: [plugin] [ORPHAN] zem_image_replace, version 2

This sounds exactly what mine did until we rebuilt and upgraded apache. Turns out that the freetype wasn’t enabled after all.
GD had been the whole time, but it didn’t show in the info of this plugin until the freetype was enabled.

Last edited by starzabove (2004-08-27 02:26:08)


90+ Textpattern installs and still going…

Offline

#60 2004-08-27 02:59:24

kennethlove666
Member
From: arkansas
Registered: 2004-04-27
Posts: 107
Website

Re: [plugin] [ORPHAN] zem_image_replace, version 2

well, i’m using a shared host, so getting them to rebuild and upgrade apache isn’t very likely.


Listen to Kenneth

Offline

Board footer

Powered by FluxBB