I think I found the cause. It is the 'language' attribute what breaks this functionality. Originally it was set to 'cs', but changing it to 'en' doesn't help. Only the complete removal of this attribute does the job.
Jan PS: I am attaching my test files. I hope they will survive ;-) > -----Original Message----- > From: honyk [mailto:[email protected]] > Sent: Thursday, May 30, 2013 12:26 AM > To: [email protected] > Subject: RE: FOP 1.1: Unwanted Ligatures in Latin Scripts > > > What, am I supposed to guess your output? > > Come on now, how about an input FO and output PDF file? Jeez. > > Sorry for my brevity. I automatically take FOP as a FO to PDF converter > (which is not very precise). And if we talk about ligatures, the > classical ones like fl, fi, or ffi were meant. > > My FO code is e.g. <fo:block>Office</fo:block> and there is no 'f_f_i' > ligature in the PDF output. > > > Further, have you checked that this font actually contains > > a GSUB table with a 'liga' feature that enables the mapping you wish? > > This is the info taken from FontLab for the Regular style: > > feature liga { # Standard Ligatures > # Latin > sub f b by f_b; > sub f f b by f_f_b; > sub f f h by f_f_h; > sub f f i by f_f_i; > sub f f k by f_f_k; > sub f f l by f_f_l; > sub f f by f_f; > sub f h by f_h; > sub f i by fi; > sub f j by f_j; > sub f k by f_k; > sub f l by fl; > sub t t by t_t; > sub t z by t_z; > language TRK ; # Turkish > language ROM ; # Romanian > } liga; > > > So I think that ligatures autoreplacement is somehow disabled. It could > be caused by this: > > '...scripts which do not otherwise override this feature set...' > > But I don't understand it much. > > Jan > > On Wed, May 29, 2013 at 2:40 PM, honyk <[email protected]> wrote: > Dear All, > > > The following features are enabled by default for all scripts which > do not > > otherwise override this feature set: > > > GSUB: {ccmp, liga, locl} > > GPOS: {kern, mark, mkmk} > > talking about ligatures I've made a test for Palatino Linotype on fresh > installed fop 1.1 and no ligature replacement is applied. The font is > found (auto-detected) and embedded correctly. > > It works fine in ConTeXt: > http://wiki.contextgarden.net/Palatino_Linotype_under_MKIV > > Tested on my Win 7. > > So I have the opposite problem. Can I switch this feature on somehow? > > Thanks, > > Jan > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected]
liga.fo
Description: Binary data
liga.pdf
Description: Adobe PDF document
liga_no_lang.pdf
Description: Adobe PDF document
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
