Reply to topic  [ 6 posts ] 
How to change one font in text 
Author Message

Joined: 2004-11-30 16:23:08
Posts: 64
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?

Thanks.


2009-03-31 15:28:19
Profile

Joined: 2008-05-17 04:02:32
Posts: 400
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:
Code:
#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
   print;
}

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


2009-03-31 20:40:31
Profile
Official Nisus Person
User avatar

Joined: 2002-07-11 17:14:10
Posts: 4251
Location: San Diego, CA
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.


2009-04-01 12:22:04
Profile WWW

Joined: 2004-11-30 16:23:08
Posts: 64
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?

Thanks


2009-04-01 16:47:51
Profile
Official Nisus Person
User avatar

Joined: 2002-07-11 17:14:10
Posts: 4251
Location: San Diego, CA
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.


2009-04-01 20:17:47
Profile WWW

Joined: 2004-11-30 16:23:08
Posts: 64
Thanks so much. I will read that page.

Cheers.


2009-04-01 20:20:32
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 6 posts ] 

Who is online

Users browsing this forum: Majestic-12 [Bot] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software