-
Notifications
You must be signed in to change notification settings - Fork 668
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Text Outline #298
Comments
Hi @stevenljacobsen, Text Outline turned out to be pretty trivial to add - thanks for the suggestion.
slide.addText(
"Text Outline",
{
x:7.5, y:6.5, w:'40%', h:0.6,
fontSize:32, color:'0088cc', outline:{size:1.5, color:'00DD00'}
}
); |
Awesome! I'll download and test it out! |
I pulled down the new code and added the outline options and that works. But I'm having an issue with the font size now. In this code the font defaults to 12p in the generated PPTX filet: And in this code it defaults to 18pt: |
Many option names changed in 2.0 and wont work... Use: |
Got it! Much better! Thanks! |
Text outline would be very helpful. Our group uses backgrounds that have dramatic contrast. An outline helps define the character when it lands upon a background of the same color. I'm using Shadow right now but since it is only one sided it isn't as good as it could be. A simple solid line with width and color options would be great!
The text was updated successfully, but these errors were encountered: