Re: [ft-devel] Understanding Type1 fonts

2008-01-10 Thread Werner LEMBERG
Yet I'm not sure the target application that Fonty Python manages the fonts for, but considering the fontconfig's limitation, I think the first group for FP would be the font files with Unicode interfaces and outline (not bitmap- only) fonts. So CFF OpenType would be the first candidate.

Re: [ft-devel] Understanding Type1 fonts

2008-01-10 Thread Donn
Hi, Sorry, my Internet connection died suddenly yesterday and I've been offline until moments ago. On Wednesday, 09 January 2008 17:59:01 [EMAIL PROTECTED] wrote: Sorry, yet I've never used Fonty Python, Inkscape, Scribus etc. Wow, FP I can understand :), but Inkscape! You should give it a go!

Re: [ft-devel] Understanding Type1 fonts

2008-01-10 Thread Donn
Thanks for the info. Apology for late reply, I lost my net connection for almost a day. PFA files contain exactly the same data as a PFB, they are a hex (ASCII) dump rather than a binary one. Okay, but since they both exist as files I must support both. So AFM files contain useful info not

[ft-devel] Understanding Type1 fonts

2008-01-09 Thread Donn
Hello, Not sure if this is the right list to ask this on, but I am pretty confused about Type1 fonts in general and have to start somewhere. I'm developing a small app called Fonty Python and have made some assumptions based on the files I found on my Kubuntu system and on (scrappy) web

Re: [ft-devel] Understanding Type1 fonts

2008-01-09 Thread mpsuzuki
Hi, On Wed, 9 Jan 2008 10:24:45 +0200 Donn [EMAIL PROTECTED] wrote: Essentially: Is an AFM or a PFM file needed *at all*? Can I simply focus on PFB and PFA files and link then into ~/.fonts and call that font 'installed? In my understanding, AFM and PFM are not essential for the system that can

Re: [ft-devel] Understanding Type1 fonts

2008-01-09 Thread Dmitry Timoshkov
[EMAIL PROTECTED] wrote: However, it is theoretically possible for AFM PFM to have the metrics which is different from PFA PFB. I don't know recent utilization is popular. AFM and PFM files also may contain kerning data which is not available in .pfa/.pfb files. -- Dmitry.

Re: [ft-devel] Understanding Type1 fonts

2008-01-09 Thread Donn
On Wednesday, 09 January 2008 11:11:00 Dmitry Timoshkov wrote: AFM and PFM files also may contain kerning data which is not available in .pfa/.pfb files. Okay so potentially, -1 on the vote. Making AFM and PFM important again. How important do you thing that extra data is on a modern Gnu/Linux

Re: [ft-devel] Understanding Type1 fonts

2008-01-09 Thread Dmitry Timoshkov
Donn [EMAIL PROTECTED] wrote: On Wednesday, 09 January 2008 11:11:00 Dmitry Timoshkov wrote: AFM and PFM files also may contain kerning data which is not available in .pfa/.pfb files. Okay so potentially, -1 on the vote. Making AFM and PFM important again. How important do you thing that

Re: [ft-devel] Understanding Type1 fonts

2008-01-09 Thread Dmitry Timoshkov
Donn [EMAIL PROTECTED] wrote: So, I take it you would advise that the corresponding metric files should be in the same folder as the glyph files? It depends on how applications handle that. -- Dmitry. ___ Freetype-devel mailing list

Re: [ft-devel] Understanding Type1 fonts

2008-01-09 Thread mpsuzuki
Hi, On Wed, 9 Jan 2008 17:11:00 +0800 Dmitry Timoshkov [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: However, it is theoretically possible for AFM PFM to have the metrics which is different from PFA PFB. I don't know recent utilization is popular. AFM and PFM files also may contain

Re: [ft-devel] Understanding Type1 fonts

2008-01-09 Thread Donn
FreeType doesn't care about additional data in afm/pfm files, it's applications and users who care. For instance a decent typesetting application must require reasonable metrics and kerning data to be available for professional fonts. Oh, now that you mention it, I recall that Freetype does

Re: [ft-devel] Understanding Type1 fonts

2008-01-09 Thread Werner LEMBERG
So, I take it you would advise that the corresponding metric files should be in the same folder as the glyph files? No, there's no reason for that. It really depends on the application where it searches the files. Am I right to assume the links are: PFB -- PFM and PFA -- AFM No. PFM is

Re: [ft-devel] Understanding Type1 fonts

2008-01-09 Thread Donn
No, the relationship is independent. If you scan Bitstream's PS Type1 font provided for X11, you can find the pair of PFB and AFM. Most PS font package provides PS font and AFM but often lacks PFM. I gather that there must be some file somewhere that is describing the relationships between

Re: [ft-devel] Understanding Type1 fonts

2008-01-09 Thread Donn
On Wednesday, 09 January 2008 11:51:46 Werner LEMBERG wrote: No. PFM is a special (binary) format of AFM used on Windows only. You can completely ignore them. So PBA,PBF - AFM Are those new types or typos? PBA? PBF? So, to clarify, you advise that: 1. If I find a PFB file without an AFM,

Re: [ft-devel] Understanding Type1 fonts

2008-01-09 Thread mpsuzuki
On Wed, 9 Jan 2008 11:49:41 +0200 Donn [EMAIL PROTECTED] wrote: Am I right to assume the links are: PFB -- PFM and PFA -- AFM No, the relationship is independent. If you scan Bitstream's PS Type1 font provided for X11, you can find the pair of PFB and AFM. Most PS font package provides PS font

Re: [ft-devel] Understanding Type1 fonts

2008-01-09 Thread mpsuzuki
Hi, On Wed, 9 Jan 2008 12:27:38 +0200 Donn [EMAIL PROTECTED] wrote: On Wednesday, 09 January 2008 11:51:46 Werner LEMBERG wrote: No. PFM is a special (binary) format of AFM used on Windows only. You can completely ignore them. So PBA,PBF - AFM Are those new types or typos? PBA? PBF? Oh,

Re: [ft-devel] Understanding Type1 fonts

2008-01-09 Thread Donn
On Wednesday, 09 January 2008 12:47:00 [EMAIL PROTECTED] wrote: One of the decision we have to consider for first is: ~/.fonts should include the files missing outline data? Yeah, that's the thing, although I am fuzzy on the meaning of 'outline' here. At present, fontconfig does not search

Re: [ft-devel] Understanding Type1 fonts

2008-01-09 Thread Werner LEMBERG
PBA,PBF - AFM Are those new types or typos? Typos, sorry. [In the following, I assume that you want to get metrics, right?] So, to clarify, you advise that: 1. If I find a PFB file without an AFM, just use the PFB (i.e. link into ~/.fonts). 2. If I find a PFB with a partner AFM

Re: [ft-devel] Understanding Type1 fonts

2008-01-09 Thread Werner LEMBERG
What is considered a font, right now, is based entirely on the extension of the filename. .ttf,.otf,.ttc,.pfb with .pfa in the works. On Unix boxes, this is a bad idea. The `classical' way to find out the contents of a file is to use the `file' program which compares the (beginning of the)

Re: [ft-devel] Understanding Type1 fonts

2008-01-09 Thread Donn
On Unix boxes, this is a bad idea. The `classical' way to find out the contents of a file is to use the `file' program Good point. I suppose file extensions work 'well enough' for me. I think most designers will have files with extensions already attached, this being a Windows-world after

Re: [ft-devel] Understanding Type1 fonts

2008-01-09 Thread George Williams
On Wed, 2008-01-09 at 00:24, Donn wrote: .PFA files These are a new twist, just found one today. I do not know if they also get matched with some metric file. I see many .AFM files around and in one folder: PFA files contain exactly the same data as a PFB, they are a hex (ASCII) dump rather

Re: [ft-devel] Understanding Type1 fonts

2008-01-09 Thread mpsuzuki
On Wed, 9 Jan 2008 13:32:29 +0200 Donn [EMAIL PROTECTED] wrote: [In the following, I assume that you want to get metrics, right?] As a quick summary: Fonty Python is meant to, acting independently of fontconfig: 1. Let one browse to any folder and see (rendered via PIL) what fonts are in it.

Re: [ft-devel] Understanding Type1 fonts

2008-01-09 Thread mpsuzuki
Hi, I wish if this Werner's post is appropriate to continue the discussion of the font format to be supported by Fonty Python. On Wed, 09 Jan 2008 12:07:45 +0100 (CET) Werner LEMBERG [EMAIL PROTECTED] wrote: Are these worth supporting? I don't think I have one on my entire Kubuntu system.