If you are having any general installation or use problems with TTFGen, please feel free to leave us a comment. We will do our best to get back to you as soon as we can.
POSTING CODE: Please wrap your code in a PRE tag so that it retains its original HTML formatting.
Hi!
Why you don’t offer a download anymore?
Seems, that only some offsite-links are available:
http://webscripts.softpedia.com/scriptDownload/TTGen-Download-57250.html
( -: roland :- )
[Reply]
good infos as always maine,
[Reply]
IE8 has some bugs too although it is more stable than IE7 and IE6*-`
[Reply]
Awesome plugin! But I can’t get it to work with other font types
It just won’t render the picture when using Century Gothic. Then I tried it with the sample here: http://sands.hu/2010/ttfs/ttfgen_sample.html , first line should be in Arial Narrow (which was in the sample as well) but it isn’t.
[Reply]
On the WP Plugin – scripts/ttfgen.php
You need to replace any instance of the inline ifs
$var_name = $_REQUEST[name] ? variable : variable;
with
$var_name = isset($_REQUEST[name]) ? variable : variable;
It is unable to produce the image without that changed.
[Reply]
Hi Guys,
i want to use this wunderful plugin for a webproject.
But i have a question concerning the font-files.
Is it legal, when i use every font that i is included in my software, like Office, Windows, ….
Or can i use just the fonts that i’ve bought seperately?
Andreas
[Reply]
Hi,
I have been trying to use this plugin on a swedish site with letters Å Ä and Ö. Even though the TTF file contains these letters I get % when the text is written with Å Ä or Ö.
Is there an easy fix for this?
[Reply]
Hi Julia,
We will address this in the next version.
[Reply]
This Plugin seems to ignore any veritcal-align property. How can I improve the top border?
[Reply]
Awesome plugin! I have an issue: In FF the image renders with a margin 0 (as has to be), but in IE Ihave an annoying top margin. (Put a style=”border:1px solid #ff0000;” in the div section to see the sample). Cant figure how to make both look the same?
PS: Can you also fix the http://www.ttfgen.com/demo/ to make it work in IE?
[Reply]
Hello,
all my charactes get CAPITALIZED and also i wonder how to get a font working as bold version.
Any clue?
Thanks,
Kris
[Reply]
Got it by myself … sorry – my fault!
[Reply]
Hi there,
I have a problem with this method as soon I choose the text size to be 20,21,22,23,24 or 25. Then the
text not displayed properly when it’s converted to images. It “moves up” and look like it’s masked.
Someone else the same problem here?
_j
[Reply]
I am having an issue using ttfgen on wordpress. I moved my site from a a wordpress directory to the root of my site and have gotten everything straightened out except the ttfgen plugin. I figured out what was wrong by setting the display_errors=on option in the php.ini I saw the error saying that it the x:\inetpub\wwwroot\wordpress\wp-content\plugins\wp-ttfgen\config.php file didn’t exist. It’s still trying to write the config file to the original directory which was
x:\inetpub\wwwroot\wordpress\wp-content\plugins\wp-ttfgen
when it should be pointing to
x:\inetpub\wwwroot\wp-content\plugins\wp-ttfgen
I didn’t see anything in the 2 tables created by ttfgen in the database so, how do I fix that?
[Reply]
Oh btw, before you ask. Yes I have completely reinstalled the plugin. It didn’t help.
[Reply]
GOT IT! You have to maually update the ttfgen_options under the wp_options table.
[Reply]
Hello,
I am encountering some kind of problem. The ttfgen script does work for Firefox on my site. In Chrome and IE the tags are replaces with the ttf ‘codes’ however the images do not work.
I’m talking about the following website: http://www.licktheband.com/wordpress/
grtz
[Reply]
Could it be something with the relative pathing of the tag.
Because when I access the path I do get a picture in Chrome and IE though on my site I do not.
[Reply]
Some feature requests:
- Font Weight
- Font style (italic, normal)
- Underline
[Reply]
Hi Guys,
Thanks for the great little script. You guys should be charging a modest fee for this. Then I expect it would get even better. I would pay for it
How can the script handle font-weight?
[Reply]
Hi there…
I’m starting to use this wonderfull script. But somehow it doens’t show up in
FireFox. Safari and IE working great.
Someone how to fix this in FF?
_j
[Reply]
hello
the images are not displaying, although everything seems to be working, the titles are being replaced with the following code:
[Reply]
Paul,
Try this:
In order for links to be properly replaced, they have to be WITHIN the anchor. The only way that can happen is if they are wrapped in the span tag.
Please let me know if that works.
[Reply]
The images aren’t rendering using the plugin. The js is being included and folder permissions are correct. However, the img src url is relative and doesn’t display.
If you try to access the img directly, you get:
Warning: imagettfbbox() [function.imagettfbbox]: Could not find/open font in /…/…/…/wp-content/plugins/wp-ttfgen/scripts/ttfgen.php on line 160
[Reply]
[Reply]
screenshot:
files.ka81.com/pic/ttfgenerror_ie_opera.jpg
left – IE (Maxthon)
right – Opera 10
[Reply]
im the image properties i see – x-files.net.ua/wp-content/plugins/wp-ttfgen/scripts/ttfgen.php?text=Pilot&font=x-files.ttf&fsize=16&pos=0&leading=0&trans=1&width=700&lineHeight=24&rgb=%23ffffff,%23344342&blank=1
before updating it was – http://x-files.net.ua/wp-content/plugins/wp-ttfgen/scripts/ttfgen.php?text=Pilot&font=x-files.ttf&fsize=16&pos=0&leading=0&trans=1&lineHeight=1&rgb=%23ffffff,%23344342&blank=1
[Reply]
by the way, after updating to 1.0.4
no PNG are shown in Opera!!!
http://x-files.net.ua/?cat=11
[Reply]
not actual. probably problem with my Opera
[Reply]
Hi. I’m sorry you’re having the issues. There is a known problem with Opera. Please check out the FAQ section. You can work around the Opera bug by specifying the font name in the jQuery (or wordpress) and not the CSS
[Reply]
ok. thanx.
please help with – By ka81 (December 12th, 2009)
about no linking
[Reply]
figured out:
i added like this –
and everything is fine!!
[Reply]
Author, please, any help!!!!!!
[Reply]
1) x-files.net.ua/?page_id=1243
2) this page’s code is:
it’s a plugin – wordpress.org/extend/plugins/list-category-posts
3) in style.css i use:
4) in footer.php i’m adding:
<script type="text/javascript">jQuery('.content .lcp_catlist li a').addClass('x-files');</script>so in result – names (which are links) are using ttfgen font – everything is fine, BUT – they are not links anymore (as it now, when i’m not using code in footer)
Help please, to make name linked when using ttfgen code for them.
Thanx!!
[Reply]
Hello;
Sorry, I can not post new messages to our discussion. That’s why I’m starting a new one here again.
Finally, I’m using PHP 4.4.9 (see test with phpinfo() on http://syphax.fr/test.php)
I’ve got again the error message ” Call to undefined function: strripos() ”
Can TTFGen work on my PHP configuration?
[Reply]
Hi. I’ve just submited a new version of the plugin which should address the path issues that many of you were having. It turns out that there are a few other plugins that had similar PHP constant names. I have changed them, so we should be good to go.
[Reply]
I have encountered a problem when using this widget on my WordPress blog.
The following error message was generated.
Fatal error: Call to undefined function: strripos() in /homez.194/syphax/www/wordpress/wp-content/plugins/wp-ttfgen/ttfgen.php on line 383
Can you please help me fix this problem
[Reply]
I believe strripos() is a php5 function. What version of PHP are you using?
[Reply]
Thank you for this quick response
I’m using PHP 5.2.11.
I’m still trying to configure TTFGen on my wordpress blog, but it doesn’t work. I have updated with 1.0.3, so there not yet the error message, I load ttf file, I assign CSS rule to TTF file, but nothing doesn’t appear !
[Reply]
Can you please provide me to a link on your site so I can see what is going on?
[Reply]
Yes of corse!
you can see my wordpress blog on http://www.syphax.fr/wordpress
For example, I have assigned the blog title CSS class to Cambrai Font (TTF file). Same thing for CSS h2 headers. However, nothing goes as planned!
Thank you for your responsiveness
[Reply]
I don’t show that TTFGen or jQuery are being loaded. Are you sure you have the paths setup correctly?
Okay, here’s my code again…
I was trying to get this example:
worked into the code I’m using to show only WordPress child pages on my side navigation:
I can’t figure out where the
or the tags should go to make the links work. It seems like everywhere I put them, it just breaks the listing.Any ideas would be greatly appreciated! And again, phenomenal plugin, it really makes my site design!
[Reply]
I found a solution for you on WordPress’ support site. Please visit this link: it has sample code that will work for you.
http://wordpress.org/support/topic/239031?replies=6
[Reply]
Okay, after viewing the page source on my home page I saw that in the footer, the path to the .js files was missing a slash. It was looking in “/pluginswp-ttfgen/” instead of “/plugins/wp-ttfgen/”.
I edited the ttfgen.php files to fix this by adding a ‘/’ . ‘wp-ttfgen/…
and viola! it’s creating images again! The only problem is they aren’t showing up, I’m only getting a broken image placeholder.
The solution you found on the WordPress support site worked great though and my (now broken images) are indeed linking again!
Let me know what I should try or can do to help in this situation!
[Reply]
Thanks, I’ll try that. Right now my TTFGen isn’t working at all. I upgraded this morning to your latest version and suddenly I’m getting only text everywhere… no images.
Checking to see if everything is as it should be right now. I’ll get back to you!
[Reply]
i put some notifications on the image, you can check it out
[Reply]
Hello,
There is an issue I’m going through. I’m trying to use the plugin on http://www.burakgurbuz.net and as you can see, the bottom of the image is always cut off. Why is this happening? How can we solve it? Thank you for the help.
Firstly, thank you for this great plugin. You saved many lives
[Reply]
http://www.burakgurbuz.net/ttfgen_sample.html in this url, you can see the issue right on the official example
[Reply]
The “official example” you show is running on *your* site which is using PHP 4. You need to upgrade your PHP installation. Any ttfgen code running under PHP 4 is not going to handle trailing characters correctly, regardless whether it is your code or our example that we include in the package.
[Reply]
thank you mike, i will upgrade my php asap
[Reply]
Which version of PHP are you using? Version 5.2.10+ and even some early versions of 5.3 have a bug in their font metrics code. The last version of PHP 5.2 that worked was 5.2.9. I *think* the latest version of 5.3.x also has the bug fixed in it.
The bad metrics code does not report the trailing characters metrics correctly and so ttfgen has no idea that any trailing characters exist and what the size of the trailing character might be. (This varies from font to font). PHP MUST report this correctly in order for ttfgen to render the font correctly.
[Reply]
i’m using 4.x.x, cant remember which version, but not 5.x.x
[Reply]
i don’t see cutting.
make a screenshot.
[Reply]
oops, i was trying something, now you can see the cuttings.
[Reply]
i updated the screenshot, you can take a look
[Reply]
i just don’t see on your screenshot any cuttings. what do you mean by cuttings?? point on them on yous screenshot.
[Reply]
you can see the screen shot at http://www.burakgurbuz.net/ss1.jpg
[Reply]
I’m sorry, but I don’t see the cut off G, either. Can you please submit a screenshot of a proper rendering of the font?
Also, one thing you can try is adding a MARGIN in the css properties of 1 or more. Try Margin:1px
[Reply]
now i put the examples on the image, please take a look
Thanks Vinny! I look forward to the updated version
[Reply]
Hello again. I tried posting this as a reply to your comments on ka81′s post above but it didn’t show… anyway, thanks for pointing me to this page for my link issue.
The code you suggest for ka81 here:
<a href="” rel=”bookmark”>
Doesn’t quite match what I have and I’m trying to figure out how to apply that fix to my page links list here:
post_parent)
$children = wp_list_pages(“title_li=&child_of=”.$post->post_parent.”&echo=0″);
else
$children = wp_list_pages(“title_li=&child_of=”.$post->ID.”&echo=0″);
if ($children) { ?>
When I start adding the and to my estimate of where it should go in the above code, everything goes wonky.
Any direction you or another user may have would be greatly appreciated! I’m almost there!
[Reply]
Oops. It ate part of the code I posted…
[Reply]
no, thank you for a great plugin!!!!
would you please help with editing CSS for IE (almost all versions) – files.ka81.com/pic/ieerror.jpg
as you see – all pngs are corrupted a little bit
in screenshot yo see the page – x-files.net.ua/?tag=gillian-anderson
in ither browsers everything is ok.
[Reply]
Thanks for this awesome plug-in! I can’t wait to use it. But everytime I try to add a font, I get this message:
Font extension invalid.
Even get it although I’m 100% certain the font I’m using is a True Type font.
Help?
Thank you…….
[Reply]
1) download ny font from dafont.com and try.
i use from there and everything is fine.
2) if still a problem then – it’s for sure not about fonts..
[Reply]
in /wp-content/plugins/wp-ttfgen/ttfgen.php i changed from define ( ‘TTF_PATH_SHORT’, WP_PLUGIN_URL . ‘wp-ttfgen/’); to define ( ‘TTF_PATH_SHORT’, WP_PLUGIN_URL.’/wp-ttfgen/’);
and now it’s working!!!
strange. WP_PLUGIN_URL . ‘wp-ttfgen/ – this path more correct, but – not working!
[Reply]
Thanks for the tip. I appreciate all of your help so far. I was trying to address a different path bug by taking out the absolute positioning. I will find a way around it in the next bug fix. Thanks again.
[Reply]
Hi. Let me first say, this plugin ROCKS! I have a font created of my handwriting and this makes it usable on my WordPress website which I love…
Okay, on to the issue at hand. I want to use it to style my WordPress page links generated on the sidebar. The images show up, styled as the right font, colors, rollovers, etc. but they don’t actually “link” anywhere now.
Is this plugin safe to use on links or is it better suited for text only?
Thanks in advance!
[Reply]
Hi Camron,
Thanks for the support. We will be posting an FAQ section to address that question, since it seems to come up a lot. In the meantime, please look at the comments on the WordPress section of the site. I just answered that question day or two ago.
Thanks
[Reply]
Hi, the plugin doesn’t work for me, straight off the bat.
I am using wordpress in a non root location (domain.com/blog)
This plugin adds these script files
Since I am not at root, these files don’t exist, the links should go to /blog/wp-content/…
I will root around in the plugin a bit and see if I can fix that, if not I’ll just move the scripts to where it is looking for them
[Reply]
I forgot to note, the plugin was installed using wordpress itself:
Plugins>Add New
Search:ttf-gen
Install.
[Reply]
Working on it, I had to change two files,
wp-ttfgen/scripts/jquery.ttfgen.js
9: var ttfgen_php_url = ‘/wp-content/plugins/wp-ttfgen/scripts/ttfgen.php’;
to
9: var ttfgen_php_url = ‘wp-content/plugins/wp-ttfgen/scripts/ttfgen.php’;
As well as
wp-ttfgen/ttfgen.php
31: define ( ‘TTF_PATH_SHORT’, ‘/wp-content/plugins/wp-ttfgen/’); // ex: /wp-content/plugins/wp-ttfgen/
to
31: define ( ‘TTF_PATH_SHORT’, WP_PLUGIN_URL . ‘/wp-ttfgen/’); // ex: /wp-content/plugins/wp-ttfgen/
[Reply]
Hi, thanks for the excellent pugin. However, I’ve tried everything it seems and I can’t get the images to display. It shows the regular text, and when I use firefox web developer plugin to check, it says there’s an image overlay there, but the font doesn’t seem to be replacing it. I’ve checked to make sure the js is there, and all the required files that need to be edited are, the permissions are set to 777 for the font and fontcache folders, but still no dice. I have noticed that no images/files are being generated in the fontcache folder, should there be? I’m on wp 2.8.6. and would love to get this working, so any help would be much appreciated.
[Reply]
by the way – i use instead of .
is it a problem or everything is ok?
[Reply]
thanx!!!
and another one problem – how to make a generated png to be on the same line as a text next to it??
see x-files.net.ua/?tag=gillian-anderson – in IE 8
[Reply]
i was not talking about some exact links, i was talking about links, generated by any WP template, for example:
when you click on any tag, you’ll get to page where will be all the posts concerning to that tag (a lot of them, right?).
so, every that post is the link by default!
so in tag.php template i wrote this:
files.ka81.com/pic/xfilestagtempl.jpg
and now all the title of posts ARE NOT clickable!
[Reply]
Try replacing your code with this:
[Reply]
Hello again, thanks for pointing me to this page for info on fixing my links!
The code you have above doesn’t seem to match the code I have for displaying my page links.
I have:
post_parent)
$children = wp_list_pages(“title_li=&child_of=”.$post->post_parent.”&echo=0″);
else
$children = wp_list_pages(“title_li=&child_of=”.$post->ID.”&echo=0″);
if ($children) { ?>
And I’m trying to figure out where to put the <a href=" parts and the <span class=" parts.
I'll admit, I'm not the best at PHP but I'm doing pretty good at stumbling through so far.
Any help you or another user could pass along from here would be awesome. I'm almost there…
[Reply]
and another one problem – how to make a generated png to be on the same line as a text next to it??
see x-files.net.ua/?tag=gillian-anderson – in IE 8
[Reply]
HellO!
plugin 0.9.7
WP 2.8.6
installed plugin.
added font.
added CSS Font Assignments (as CLASS).
in my style.css i wrote .x-files {color:#344342;font-size:16px;}
in tag.php i use
and now all the tags are not linked!!
without – everything is ok (every tag is a link.
see example please – x-files.net.ua/?tag=gillian-anderson)
would you please help to deal with that!
Thanx!!!
[Reply]
When using an links, placed the replacement CSS within a SPAN element of the link.
For example:
[Reply]
HellO!
plugin 0.9.7
WP 2.8.6
installed plugin.
added font.
added CSS Font Assignments (as CLASS).
in my style.css i wrote .x-files {color:#344342;font-size:16px;}
in tag.php i use
<a href="” rel=”bookmark”>
and now all the tags are not linked!!
without – everything is ok (every tag is a link.
see example please – x-files.net.ua/?tag=gillian-anderson)
would you please help to deal with that!
Thanx!!!
[Reply]
I’m often looking for new articles in the world wide web about this topic. Thankz.
[Reply]
Hi,
Intresting in linking to http://onlinefontconverter.com? Good to have if the font isn’t a ttf font.
I will link back ofcourse.
//Stefan
[Reply]
i have the same problem than Carl.
Everything seems fine in settings (except for no save changes button) but I get no image in site, just the plain text. Where does the font file go? It says uploaded, and I can assign it to my css, but I get no result.
WP ver. 2.8.5
LINUX, PHP 5.1, CGI 2.0, PERL 5.0, PYTHON 2.4, RUBY 1.8.4, MYSQL 4.1, 5.0
i am toke two pic.
if give to me a mail, i will send to u!
[Reply]
plugin has no valid header?
[Reply]
Which version of the plugin are you using? We’ve added the ability to save changes now..
[Reply]
More info when using Opera 10… The only place that the image replacement works is when I go to the demo page and hit the submit button. Only that newly loaded demo pic loads.
In all the places where the font should be replaced, the areas are totally blank, as if there is nothing even supposed to be there at all. Not even the original text that was to be replaced is there (which is my biggest concern) even though you can see it via the page source.
Using the latest, Opera 10.01.
[Reply]
Thanks for pointing out this bug. We have verified it and will let you know once it’s fixed.
[Reply]
Any word on a fix for the issues with Opera 10? Or, even a work-around that would disable ttfgen specifically for visitors using Opera when they come to the website? If the default txt were still visible, this wouldn’t be necessary.
As it is now, I just can’t bring myself to use this until I know there is a way to allow Opera 10 users to fully navigate our website til the bug is fixed.
Thanks!
[Reply]
I am about to install TTFGen on our newly re-designed website which is based on the iNove layout. I have waited a while since I saw you were preparing a WordPress Plug-in as well. My concern now is that there may be an issue with TTFGen not working correctly in Opera 10. I am using it now and EVERY TTFGen generated image is completely missing. Is that a known issue in Opera 10?
[Reply]
Which plugin?
[Reply]
You should include a ‘selector’ option in the CSS Font Assignment type. This would allow someone to specify complete Header Tags (h1, h2, etc).
[Reply]
I give up, is there some other way to post the template code?
[Reply]
I’ve released a new patch with significant bug fixes. There is now also a config.php file within the scripts folder that you will need to modify. Please give that a shot and let me know what happens.
[Reply]
Oops: posting cut off my nice template html, guess that’s a good safety measure, trying again:
< a href="” title=”">
nevermind the odd blanks.
[Reply]
Sure:
Here’s my code in the template:
<a href="” title=”">
The class I use is “logo”.
Here’s my css:
.logo {
font-size: 20px;
border: 0px;
}
And lastly: link to screenshot:
http://picasaweb.google.com/lh/photo/TzaC-F0b4l5IGJ8nXKQh1w?authkey=Gv1sRgCLCmjbihm__XlQE&feat=directlink
[Reply]
Can’t get version 0.9.3 to work with WP 2.8.5 Everything seems fine in settings (except for no save changes button) but I get no image in site, just the plain text. Where does the font file go? It says uploaded, and I can assign it to my css, but I get no result.
[Reply]
Have you wrapped the text on your site with the proper CSS elements? My Text. In the TTF Options, you would assign the ttfText class to the font that you’ve uploaded. Then in your CSS file, add the properties that you want to .ttfText. If it’s still not working, can I see a screenshot of your settings page?
[Reply]
Not working with WordPress 2.8.5. I can’t save options (no button), I can’t load fonts
. I’ll look forward for a new version.
Raul.
[Reply]
What version are you using? We’ve just updated the plugin to 0.9.3 which should fix those problems. Please let me know.
[Reply]
Plugin is not working after auto-install.
Error appears in ‘Add font’ section:
Add a New Font
Fatal error: Call to undefined function let_to_num() in [cut]/public_html/wp-content/plugins/wp-ttfgen/ttfgen.php on line 456
[Reply]
I’ve released a patch (version 0.9.2) which should fix this issue. Thanks for letting us know.
[Reply]
Ok, works now
Thanks.
[Reply]
Hello,
I’m using DotNetNuke which has a script injector where in I can insert an external js or css script, since it is not a PHP based system, how can I use your TTFGen for my webpage?
[Reply]
Your site would need to have some sort of PHP support. As long as it does, I would have your application inject the jQuery code into your site. The jQuery calls the PHP when it does the processing.
[Reply]
Hi Vinny,
I’ve setup a localhost with php 5.3.0 sitting on apache 2.2.14 in a vista. I followed your directions and ran the ttfgen_sample.html, didnt got any error’s but it wasn’t able to translate+embed the custom .ttf fonts either + the read was slow considering im running on localhost.
Is there anything I’m missing?
[Reply]
Oh scratch that last one, it worked perfectly… thanks for this. Now all I have to figure out is to make it work in DNN.
[Reply]
hello,
i got some problems to workout your guide.
the following website http://geschnitzeltes.s5000-service.de has a subdir “ttfgen” with all the files and folders (“cache”,”fonts”)
$cache_prefix = ‘ttfgen/cache/’; // folder must be writable, images will get cached here (777)
$font_prefix = ‘ttfgen/fonts/’; // points to folder containg .ttf font files
var ttfgen_php_url = ‘ttfgen/ttfgen.php’;
but the http://geschnitzeltes.s5000-service.de/ttfgen/sample.html isn’t even remotely working like you embedded demo.please hel…i tried typeface but hade some problems with performace.
another thing with the family name, how do i find out the correct name to call up random named fonts?
thanks in advance / and for the efford to improve the possibilities to webdesign
sebastian
[Reply]
I looked at your sample code and none of the jQuery or JS files are being included. Your sample page is looking for the js files in the following location: http://…service.de/ttfgen/ttfgen/jquery.ttfgen.js. Try fixing that first.
[Reply]
This is a cool script. I am hopeful the plugin for WordPress will be available soon, right now I have to add it manually.
[Reply]