Re: [Gimp-user] script-fu text
> > I seem unable to specify the font_file correctly to be able to call it in > non-interactive mode though. The font file name is actually > "wmb_.pfm". I've tried that, with and without the full path > ("c:\Windows\fonts\wmb_.pfm"), and I've tried the font name by itself > ("Myriad Bold"). I am able to select the font correctly in interactive > mode. > > Any hints here? Well, I figured this one out on my own too. In my user directory was a dotfile (fonts-cache or something, not sitting in front of it right now) containing the list of font files and their properties. Using the exact text specified there for the font-file and it works. Changing the case of a single letter, and it breaks. Just a unix/win32 difference. -- Mark R. Andrachek, Jr. [EMAIL PROTECTED] ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
Re: [Gimp-user] script-fu text
Ok, turns out, I need to do both hinting and kerning (the letter spacing was off too). So, some searching found that I need to use plug-in-freetype, which takes care of all of this, and produces *perfect* text for me, at least in interactive mode. I seem unable to specify the font_file correctly to be able to call it in non-interactive mode though. The font file name is actually "wmb_.pfm". I've tried that, with and without the full path ("c:\Windows\fonts\wmb_.pfm"), and I've tried the font name by itself ("Myriad Bold"). I am able to select the font correctly in interactive mode. Any hints here? -- Mark R. Andrachek, Jr. [EMAIL PROTECTED] ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user
[Gimp-user] script-fu text
I've got some script's I'm porting over from 1.2 to 2.0. (I'm using the windows version, if it makes a difference.) There have been some changes, but I've gotten the scripts working again. I had to add an alpha channel to my layers so I could raise/lower them, add gimp-edit-fill after gimp-edit-clear because of the alpha layer. I also had to change how I created my text layers, using gimp-text-fontname instead of gimp-text: (tLayer (car (gimp-text myImage -1 0 0 inText -1 TRUE 110 1 "*" "Myriad Roman" "bold" "roman" "normal" "*" "*" "*"))) Changed to: (tLayer (car (gimp-text-fontname myImage -1 0 0 inText -1 TRUE 13 1 "Myriad Bold"))) Calling it is easier (no foundry or anything to remember), and the text is close, but not close enough. I can actually get it right if I disable Hinting in the text tool options if I manually create the image, but there doesn't appear to be any way to control the hinting via script-fu. Is there some way I can set it to disabled globally so it will be disabled in script-fu too? I have to create a *lot* of these images, so help would be much appreciated! -- Mark R. Andrachek, Jr. [EMAIL PROTECTED] ___ Gimp-user mailing list [EMAIL PROTECTED] http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user