포토샵 사용 중에 레이어에 사용한 폰트를 알 수 없을 때 사용하는 포토샵 스크립트이다.
예를들어 사용된 폰트를 알 수 없을 때 해당 폰트 레이어를 클릭하여 스크립트를 실행하면 "SanDaM"이라는 폰트임을 알 수 있다는 스크립트이다. 나같은 경우 사용빈도는 낮겠지만 유용한 정보로 보인다.
2. 다운 받은 화일을 C:\Program Files\Adobe\Adobe Photoshop CS4\Presets\Scripts\ 에 복사한다.참고로 Show Font Name.jsx의 내용은 아래와 같다.
#target photoshop
#script "Show Font Name"
#strict on
app.bringToFront(); // just in case
if (app.activeDocument.activeLayer.kind != LayerKind.TEXT)
alert("Active layer is not a text layer. \nMake the desired text layer active before invoking the \"Show Font Name\" script.");
else
{
alert("The internal name for the font of the currently-active layer is \"" + app.activeDocument.activeLayer.textItem.font + "\"");
// app.activeDocument.activeLayer.textItem.contents = app.activeDocument.activeLayer.textItem.font;
}
- 사용방법
아래 3장의 이미지를 순서대로 훑어보자. 대략 이해할 수 있다. 클릭하면 1680*1050의 사이즈로 볼 수 있다.