Вот код:
var surface = document.getElementById("myCanvas");
if (surface.getContext) {
var context = surface.getContext('2d');
context.shadowOffsetX = 2;
context.shadowOffsetY = 2;
context.shadowBlur = 5;
context.shadowColor = "rgba(0, 0, 0, 0.5)";
context.textBaseline = "top";
context.font = "125px helvetica";
context.textAlign = "center";
var gradient = context.createLinearGradient(0, 0, 0, 150);
gradient.addColorStop(0, "rgb(22,28,106)");
gradient.addColorStop(1, "rgb(19,25,98)");
context.fillStyle = gradient;
context.fillText("Some Title", 450, 10);
}
тень выглядит как контур в 1 пиксель ... есть идеи?
Демонстрационная версия: http://jsfiddle.net/simevidas/MDgR3/