* If you want black text on transparent, and you hook up image with
string to billboard and set the color of the billboard to black,
the black background hides the text completely. Any way around
that to see what I'm doing? Should the Image With String patch
have color/background-color controls on it?
Image With String just outputs a black & white mask: to be displayed
with Billboard or Sprite, you will want to set the Blending to "Over"
* What is "Glyph Size" on Image With String doing? Its default
value of 0.1 is kind of blocky ... as if it's a very small bitmap
scaled up; smaller values are way too blocky; larger values produce
a better display, but if it gets too large, then it starts looking
weird. What's the optimum size for this to have it rendered at
whatever size is needed for the view size that it is being rendered
into?
Glyph Size is the size of the characters in Quartz Composer units.
However, Image with String just outputs an image, then it's up to you
to display it at its recommended size (so that one pixel in the image
equals one pixel on screen) or not. Connect the Display Width output
to the Billboard Witdh input. This will ensure the Billboard size
with scale in par with the text image it displays.
* What is image width in the Image WithString patch controlling?
It seems that when image width is zero, then the whole text is fit
in one line to one width unit. When it's non-zero, then there's
some interplay between the image width and the glyph size. But I
can't figure out what the relationship is supposed to be....
"Image Width" and "Image Height" define the dimensions of the image
in which to render the string. If those dimensions are null, the
image will automatically be sized to fit the entire string,
otherwise, the text will wrap to fit in those dimensions.
* Now switching over to fixed dimension in pixels to try that
variation... If the image dimensions are 0x0, then specifying a
font size seems to make NO sense -- it's like above, where it just
scales whatever font size you specified up or down, so just about
all sizes look bad unless you happened to have picked the right
font size. Again, how to specify the size that will make the font
look right in whatever size output image it's rendered?
That's the goal of "dynamic dimensions" :)
Often what I want is to specify a particular width or width/
height and have the text scaled to fit that available space. How
can I do that without making guesses in glyph size and font size
that can result in sub-standard font rendering?
Just set Image Width & Height to the dimensions you wish to display
the text in, set the Glyph Size to the character size and connect
Display Witdh to the Width input of the Billboard:
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/email@hidden
This email sent to email@hidden