MSL - kerning (ie. letter spacing) and/or QueryFontMetrics

Discuss the conjure program and the Magick Scripting Language (MSL) here. MSL is an XML-based wrapper to the ImageMagick image-processing functions.
Post Reply
pooco

Re: MSL - kerning (ie. letter spacing) and/or QueryFontMetrics

Post by pooco » 2008-11-13T21:06:18-07:00

kerning / basic letter spacing would be a very good thing.

User avatar
magick
Site Admin
Posts: 10690
Joined: 2003-05-31T11:32:55-07:00

Re: MSL - kerning (ie. letter spacing) and/or QueryFontMetrics

Post by magick » 2008-11-13T21:20:43-07:00

So much to do-- so little time. We have kerning on our list of things to do with MSL but we also have 300 other enhancements pending.

pooco

Re: MSL - kerning (ie. letter spacing) and/or QueryFontMetrics

Post by pooco » 2008-11-13T22:34:06-07:00

may i be as bold as to suggest that if you guys beefed up MSL and typography control that you'd get more enterprise/commercial use (and thus perhaps funding)? the idea of XML-configured layouts is a great one; however, i dont think MSL is quite ready for extensive use given how spotty the feature support is.

i just started writing a generic scripty/XML parser that will take an xml file to define text and background layers (with one-line effects like drop shadow) and interface with various graphic packages to create the desired product. MSL would have filled that niche if it were fleshed out more.

i'm stuck between needing to copy a designer's layout perfectly and crank out (potentially) thousands of variations. specifically, this would be a very handy feature for all the customized social networking sites out there. we just found it very difficult with MSL.

not to knock it... IM is unparalleled in most other respects.

User avatar
magick
Site Admin
Posts: 10690
Joined: 2003-05-31T11:32:55-07:00

Re: MSL - kerning (ie. letter spacing) and/or QueryFontMetrics

Post by magick » 2008-11-14T06:40:25-07:00

See http://www.imagemagick.org/script/conjure.php sometime tomorrow to see how to use the new query-font-metrics tag.

pooco

Re: MSL - kerning (ie. letter spacing) and/or QueryFontMetrics

Post by pooco » 2008-11-20T18:31:24-07:00

awesome, thank you! i'll take a look at this tomorrow.

is there a reason you guys don't include every feature normally available to the commandline? it ended up being easier for us to write an XML parser that translated everything to the script's API.

User avatar
magick
Site Admin
Posts: 10690
Joined: 2003-05-31T11:32:55-07:00

Re: MSL - kerning (ie. letter spacing) and/or QueryFontMetrics

Post by magick » 2008-11-20T21:55:33-07:00

Many of the command line options are supported. We add support for missing elements whenever someone asks for them.

pooco

Re: MSL - kerning (ie. letter spacing) and/or QueryFontMetrics

Post by pooco » 2008-11-23T13:16:44-07:00

-shadow was the first one we reached for, but MSL is an iffy choice since you can't immediately tell what is supported and what isn't. it would be nice to have more 1:1 translation between the API and MSL.

i'd like to make a formal request for all of the methods to be added. does this take a large amount of dev time?

User avatar
magick
Site Admin
Posts: 10690
Joined: 2003-05-31T11:32:55-07:00

Re: MSL - kerning (ie. letter spacing) and/or QueryFontMetrics

Post by magick » 2008-11-23T16:27:09-07:00

We currently have over 300 requests for bug fixes and enhancements. 1:1 support of MSL and PerlMagick is on the list but we currently do not have time to fully accomplish this task. However, we do like to remind users that ImageMagick is open-source and anyone can contribute bug fixes, patches, and enhancements. If you have just a few unsupported options (less than five) you would like to add support for now we can find the time for that. Just post your list here.

User avatar
magick
Site Admin
Posts: 10690
Joined: 2003-05-31T11:32:55-07:00

Re: MSL - kerning (ie. letter spacing) and/or QueryFontMetrics

Post by magick » 2008-12-14T09:42:34-07:00

Ok, done (patch available sometime tomorrow).

Post Reply