How to change one font in text
Page 1 of 1

Author:  disfasia [ 2009-03-31 15:28:19 ]
Post subject:  How to change one font in text

I have a text with three different types of fonts (one for English, one for Arabic transliteration, and one for Arabic). My English font of all things is that which is causing me great touble--Skia font. So I need to change it in a 450 page document, not changing the other fonts.

How can I do this?


Author:  Kino [ 2009-03-31 20:40:31 ]
Post subject:  Re: How to change one font in text

This is a bit tricky but AFAIK the surest way to change font globally is to modify the font table in RTF raw code. Try the attached Perl macro which changes font from Skia to Times:
#Nisus Macro Block
#source front
#send text as RTF
#End Nisus Macro Block

### Change font from Skia to Times ###

while (<STDIN>) {
   s/(?<=\\fcharset77\x20)Skia-Regular(?={)/Times-Roman/; # PostScript Font name
   s/(?<=\\\*\\falt )Skia(?=})/Times/; # Font Family nam

### end of macro ###
Attachment: [775 Bytes]
Downloaded 356 times
To see PostScript Font name and Font Family name, launch Font, hit command-i (Preview:Show Font Info) and select a font.

Author:  martin [ 2009-04-01 12:22:04 ]
Post subject:  Re: How to change one font in text

The best way to control these kinds of things is through styles. But since you are asking I assume you do not have styles configured in your document.

Kino's Perl macro is surely the quickest, but if you want to stick to using the Express interface, you could use the font tag to help you out:

1. Place the selection in some Skia text.
2. Click the font tag, eg: the little black underlined "a" icon at the bottom-right of the document window.
3. Choose the menu "Select All".

That should select all similarly configured text, which you can now change all at once. You will have to repeat the process for different formatting configurations, eg: do steps 1-3 for bold Skia text, etc. This may be a burden depending on your situation.

You could always download the Nisus Writer Pro demo to use the attribute sensitive find feature.

Author:  disfasia [ 2009-04-01 16:47:51 ]
Post subject:  Re: How to change one font in text

Thanks. Actually I did that the other day and it worked. But this begs the question: Does Nisis Writer Pro offer much more than Express? Does Pro have the split screen as well (the horizontal screen where I can see a text on page 4 above and page 38 below?

I used to use regular Nisus-- I have been using Nisus for about 15 years--then you only developed NWE and I didn't realize the pro was revised.

What can you tell me about the differences?


Author:  martin [ 2009-04-01 20:17:47 ]
Post subject:  Re: How to change one font in text

Pro does not have a split screen feature. It's filed away as something we'd like to add, so hopefully we'll see it eventually. As for features found in Pro that are not in Express, we have just such a comparison page.

Author:  disfasia [ 2009-04-01 20:20:32 ]
Post subject:  Re: How to change one font in text

Thanks so much. I will read that page.


Page 1 of 1 All times are UTC - 8 hours
Powered by phpBB® Forum Software © phpBB Group