Thu 31 Dec 2009 12:56:02 PM UTC, comment #12:
Werner, your updates clarify the situation better than my original proposition...
Thanks !
|
Sat 26 Dec 2009 07:30:01 AM UTC, comment #11:
I've done a bit into this direction; however, it's far from
complete (and it's deprecated anyway).
|
Wed 23 Dec 2009 07:00:22 AM UTC, comment #10:
Werner,
Is it possible that someone updates the page
http://freetype.sourceforge.net/freetype1/projects.html
and replaces in the TTF2BDF section :
============
Source code is available in the "contrib/ttf2bdf" directory of the FreeType archive.
Binaries (Linux/Pentium, Solaris, and SunOS) are at ftp://crl.nmsu.edu/CLR/multiling/General. Look for files named ttf2bdf-*.tar.gz.
============
by
============
TTF2BDF is deprecated and has been replaced by OTF2BDF. You can get it at http://www.math.nmsu.edu/~mleisher/Software/otf2bdf/
============
Or at least, update the URL which is dead anyway.
The next newbies would be very grateful and will not take your precious time by asking questions.
Thanks.
|
Tue 22 Dec 2009 09:55:29 PM UTC, comment #9:
Well, yes. Since FreeType 1 is deprecated, all projects
are deprecated too, more or less.
|
Tue 22 Dec 2009 09:23:18 PM UTC, comment #8:
Werner,
I just read your answer.
I first thought ttf2bdf or otf2bdf was part of freetype because the following URL
http://freetype.sourceforge.net/freetype1/projects.html
says it is part of the freetype library, in the "contrib" directory, but this is probably not true anymore. Can you confirm ?
Sorry to bother you, I am newbie with freetype and I am really trying to find my way across the sometimes outdated information I could find. I will contact the author of otf2bdf/ttf2bdf, now that I now for sure that otf2bdf is not part of the freetype project.
Thanks for your reply.
|
Tue 22 Dec 2009 09:17:20 PM UTC, comment #7:
Another difference I noticed between the original TTF and the BDF is that the interline gap is smaller in the BDF.
But with gbdfed I increased the FONT_DESCENT and now it is OK.
|
Tue 22 Dec 2009 09:03:42 PM UTC, comment #6:
Well, FreeType is a library, and we are not responsible
for applications which use it. In particular, you should
contact Marc Leisher, the author of otf2bdf, to have a look
into the issues you are mentioning. In case there is a
FreeType bug, he will contact us.
http://www.math.nmsu.edu/~mleisher/Software/otf2bdf/
|
Tue 22 Dec 2009 08:56:30 PM UTC, comment #5:
I am sorry to be very dummy, but I was not aware that ttf2bdf was using FreeType 1, because I use the executable which comes with Ubuntu. It became only clear to me when I did a "ldd" on the executable and saw libttf instead of libfreetype. Not easy for someone starting with freetype...
|
Tue 22 Dec 2009 08:53:24 PM UTC, comment #4:
There is still one problem remaining with otf2bdf : with Arial, the "t" is one pixel too high and the "Q" is one pixel too low.
|
Tue 22 Dec 2009 08:45:21 PM UTC, comment #3:
Well, on freetype.org, if you click on FreeType 1, you will
see a warning in big red letters that this library is
deprecated...
An alternative solution is to use FontForge which can generate
BDF fonts too.
|
Tue 22 Dec 2009 08:13:49 PM UTC, comment #2:
I discovered after a long Google search that ttf2bdf is deprecated and has been replaced by otf2bdf.
I tried the same conversion with otf2bdf and it works fine ! Good work !
I think it would be worth adding to the ttf2bdf executable and man page a warning that it is now deprecated ! This will avoid confusing other freetype beginners like me :-)
|
Tue 22 Dec 2009 06:26:48 PM UTC, comment #1:
I forgot to mention, I have freetype version 2.3.5, I will try again with a more recent version
|
Tue 22 Dec 2009 05:01:10 PM UTC, original submission:
Hello, I tried to convert from a TTF to BDF, but I had some pixel shifted in some characters.
Steps to reproduce :
- Install msttcorefonts package
- Launch ttf2bdf -p 11 -t ArialMS -o ArialMS11.bdf /usr/share/fonts/truetype/msttcorefonts/arial.ttf
- Open the ArialMS11.bdf with gbdfed, or install the BDF in the system font directory, do a fc-cache -r and use the font in any application.
Some characters are shifted by one pixel :
- "2", "g", "A", "V" are shifted one pixel to the right, and there is one missing pixel column at the right
- "Q" is shifted one pixel below
Anyway the generated BDF was a very good starting point, and after some manual edit with gbdfed, the result was great !
|