Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Special Interests > Visual Media > Design and Graphics

Thread Tools Search this Thread Display Modes
Old Nov 22, 2012, 01:30 PM   #1
macrumors 65816
Join Date: Jul 2012
Looking for automated solution to deal with out-of-font characters

I have a massive amount of UTF-8 text to layout with many Japanese terms inline. The font to use is a modern typestyle with limited characterset (ASCII+). If you import this text in InDesign, all the Japanese shows as pink boxes.

Now I need any of the following 2 solutions:

1) A way to select all "Pink boxes" and turn them into Characterstyle X. That way I can set Characterstyle X to font "Osaka" the giant OSX font that includes all characters.
2) A way to feed InDesign makeup-markers in plain text that get converted to the appropriate styles in InDesign? All text is inside a MySQL database, and it is easy to let PHP catch the Japanese characters and wrap them in markings. Say [style="osaka"]にほんご、にっぽんご[/style].

Why can't you just specify a backup-font in InDesign? That would make things a lot easier. All browsers work like that already.
blanka is offline   0 Reply With Quote
Old Nov 22, 2012, 02:58 PM   #2
macrumors member
Join Date: Sep 2009
You can use the Grep section of Find/Change to do this.

First, identify the first and last Unicode code for the range characters you want to find, e.g. in the screenshot I have 0B05 selected in the OS X Character Viewer.

In Find/Change, Grep tab, search for: [\x{0B05}-\x{0D14}] where the codes in the braces are the codes you've found.

Set the change format to your character style.

Your other suggestion, of importing text into InDesign, would also work. Try exporting some text from InDesign if you want to see how the tagging works.

InDesign doesn't use a default font because it doesn't try to be clever and do things for you.
Attached Thumbnails
Click image for larger version

Name:	Screen Shot 2012-11-22 at 20.52.45.png
Views:	4
Size:	144.9 KB
ID:	379135  
jamietshaw is offline   0 Reply With Quote

MacRumors Forums > Special Interests > Visual Media > Design and Graphics

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -5. The time now is 05:41 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013,, LLC