Skip to main content
Known Participant
June 25, 2025
Question

Can setting font of [No paragraph style]?

  • June 25, 2025
  • 2 replies
  • 256 views

[段落スタイルなし] =[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?

2 replies

rob day
Community Expert
Community Expert
June 25, 2025

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.

MrTranAuthor
Known Participant
June 26, 2025

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)

Peter Kahrel
Community Expert
Community Expert
June 25, 2025

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.

 

MrTranAuthor
Known Participant
June 26, 2025

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?

Peter Kahrel
Community Expert
Community Expert
June 26, 2025

No, it shouldn't.