White text with black outline?

22 visualizaciones (últimos 30 días)
Charles Johnson
Charles Johnson el 25 de Ag. de 2011
Hello,
I'd like to know if it is possible to give text an outline that directly surrounds the text. I know there is a way to draw a boxed outline around the "extent," but this is not what I want.
Any help would be appreciated!
  1 comentario
Jan
Jan el 25 de Ag. de 2011
It is not clear to me: Should the outline appear around any character, and then as a rectangle or following the characters shape? Or do you want a rectangle around the complete string, but as tight as possible?

Iniciar sesión para comentar.

Respuestas (1)

Fangjun Jiang
Fangjun Jiang el 25 de Ag. de 2011
If you could find a system font that does it, something close to this?
h=text(.2,.2,'text','fontsize',50,'fontname','Castellar')
Find a link for "Hollow and outlined Fonts" http://www.fontcenter.com/categories/Hollow_and_Outlined/index.html. Use your own discretion.

Categorías

Más información sobre Labels and Annotations en Help Center y File Exchange.

Productos

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by