Copy link to clipboard
Copied
[段落スタイルなし] =[No paragraph style]
I try setting Font off textDefaults , but [段落スタイルなし] not change:
app.textDefaults.appliedFont = app.fonts.item("Arial");
$.writeln(app.textDefaults.appliedFont.name);
var doc = app.activeDocument;
var style = doc.paragraphStyles[0];
$.writeln(style.name);
$.writeln(style.appliedFont.name);
Result:
Arial Regular
[段落スタイルなし]
小塚明朝 Pr6N R
Can setting font of [No paragraph style]? Script or Screen of Indd?
Copy link to clipboard
Copied
You can't change the app's [No Paragraph Style]. To change the app's default font, use this format (you need to include the font style):
app.textDefaults.appliedFont = 'Arial\tRegular';
You can change a document's [No Paragraph Style] by exporting the document to IDML and changing the style in there.
Copy link to clipboard
Copied
Is there any document that describes the Font of [No paragraph style]?
If the document is created by Version JP, then [No paragraph style] has the Font 小塚明朝 Pr6N R.
If the document is opened by Version EN, will the font of [No paragraph style] change?
Copy link to clipboard
Copied
No, it shouldn't.
Copy link to clipboard
Copied
Hi @MrTran , Keep in mind the [No Paragraph Style] is not editable for a reason. If you edit [No Paragraph Style] via an IDML file, then cut and paste to a new document with the default [No Paragraph Style] , the font might change.
Copy link to clipboard
Copied
https://creativepro.com/changing-default-font-indesign-document-advanced/
can use Find/Change Font to change the font and be sure to turn on “Redefine Style When Changing All” (and then click Change All)
Find more inspiration, events, and resources on the new Adobe Community
Explore Now