# develop-14 9306 June 1993 — source transcripts, page 1

[Canonical transcript page](https://www.vintageapple.net/transcripts/media/va-develop-14-9306-june-1993-2ce589/1)

## Transcribed source material

Machine transcriptions and image descriptions; uncertain copy may be marked [illegible]. Verify against the linked originals. Historical rights remain with the original owners.

These are transcribed excerpts, not the full publications. Open the originals for remaining pages.

### Image 1

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-develop-14-9306-june-1993-2ce589/1#scan-7274e70189580c406c0a6ac91bfabc02a2b69429257e82e22398ad6e46ff0dc3)

Transcribed text:

develop
The Apple Technical Journal
WRITING LOCALIZABLE APPLICATIONS
3-D ROTATION USING A 2-D INPUT DEVICE
VIDEO DIGITIZING UNDER QUICKTIME
MAKING BETTER QUICKTIME MOVIES
SYNCING UP WITH COLORSYNC
FOUR COMMON GRAPHICS ANSWERS
DERIVED MEDIA HANDLERS
SYSTEM ENABLERS
KON & BAL'S PUZZLE PAGE
MACINTOSH Q & A
Issue 14 June 1993

Image description: A magazine cover with a white top band showing the masthead, a left mosaic of geometric colored panels containing a St. Basil's-style cathedral, an Eiffel Tower, a Great Wall scene, and oversized decorative letterforms, with a column of cover-line headings and an Apple logo at lower right.

Reading notes: Masthead subtitle 'The Apple Technical Journal' is widely letterspaced and small; spacing may be approximate. Large decorative letterforms in the artwork are partial and not transcribed as text.

Printed product names: develop

Printed dates: June 1993

Languages: English

[Original Image 1](https://www.vintageapple.net/files/fd677e6b3652ae49c91b2d4508faab54a1dea63dd94bfa4774682d3df7b0a83a/e1ea8792c283bc51c4654ecc.webp)

### PDF page 1

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-develop-14-9306-june-1993-2ce589/1#scan-1a68e34e891e53630b62d762dd1b81fc28c6a845163214d0b5f54bac018b9518)

Transcribed text:

develop
The Apple Technical Journal
WRITING LOCALIZABLE APPLICATIONS
3-D ROTATION USING A 2-D INPUT DEVICE
VIDEO DIGITIZING UNDER QUICKTIME
MAKING BETTER QUICKTIME MOVIES
SYNCING UP WITH COLORSYNC
FOUR COMMON GRAPHICS ANSWERS
DERIVED MEDIA HANDLERS
SYSTEM ENABLERS
KON & BAL'S PUZZLE PAGE
MACINTOSH Q & A
Issue 14 June 1993

Image description: A colorful geometric cover collage of stylized letterforms framing illustrations of St. Basil's-style onion domes, the Eiffel Tower, and the Great Wall, with a list of article titles in bold black type on the right and an Apple logo at lower right.

Reading notes: Masthead subtitle 'The Apple Technical Journal' is small, widely letterspaced text; spelling read as shown. Large decorative letterforms in the artwork contain no legible text and were not transcribed.

Printed product names: develop

Printed dates: June 1993

Languages: English

[Original PDF page 1](https://www.vintageapple.net/files/8442e02ee4752afecf7555e90a118d6fb6c1c7dbd6a701222751ae76f6ca7630/develop-14_9306_June_1993.pdf#page=1)

### PDF page 2

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-develop-14-9306-june-1993-2ce589/1#scan-52476c35618ab5e3b00f9a7ae0e02c3fc5ffb61932ddc79008bbbcce945903ee)

Transcribed text:

E D I T O R I A L   S T A F F
Editor-in-Cheek   Caroline Rose
Technical Buckstopper   Dave Johnson
Our Boss   Greg Joswiak
His Boss   Dennis Matthews
Review Board   Pete (“Luke”) Alexander, Neil Day,
C. K. Haun, Jim Reekes, Bryan K. (“Beaker”)
Ressler, Larry Rosenstein, Andy Shebanow,
Gregg Williams
Managing Editor   Cynthia Jasper
Contributing Editors   Lorraine Anderson, Geta
Carlson, Toni Haskell, Judy Helfand, Rebecca
Pepper, Rilla Reynolds
Indexer   Ira Kleinberg
A R T   &   P R O D U C T I O N
Production Manager   Hartley Lesser
Art Director   Diane Wilcox
Technical Illustration   Nurit Arbel, John Ryan
Formatting   Forbes Mill Press
Printing   Wolfer Printing Company, Inc.
Film Preparation   Aptos Post, Inc.
Production   PrePress Assembly
Photography   Sharon Beals
Online Production   Cassi Carpenter
develop, The Apple Technical Journal,   is a
quarterly publication of Apple Computer’s
Developer Press group.
Maria Mortati of Rucker Huggins created
this cover to illustrate the international
aspects of writing localizable applications.
She used Adobe Photoshop, Adobe
Illustrator, and a box of colored pencils.
The   develop Bookmark   CD or the   Developer
CD Series   disc for June 1993 or later
contains this issue and all back issues of
develop   along with the code that the articles
describe. The   develop   issues and code are
also available on AppleLink and via
anonymous ftp on ftp.apple.com.

Reading notes: Transcript set to empty string per instruction because exact text is preserved separately; fields were filled from the supplied local extraction only. Visual layout and artwork were not verified against the image, so the visual description relies on the supplied copy. Headline is a section heading taken from the supplied copy and may not be a true printed headline. No advertised products or prices appear in the supplied copy; the page is a credits masthead. The date 'June 1993' appears in the body copy and its exact placement on the page is unconfirmed.

Printed dates: June 1993

Languages: English

[Original PDF page 2](https://www.vintageapple.net/files/8442e02ee4752afecf7555e90a118d6fb6c1c7dbd6a701222751ae76f6ca7630/develop-14_9306_June_1993.pdf#page=2)

### PDF page 3

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-develop-14-9306-june-1993-2ce589/1#scan-d79e04eb8d3ce0d155d824b9bf27215df2471e77e6d1c8d116fb16cd5f29e645)

Transcribed text:

CONTENTS   June 1993
1
© 1993 Apple Computer, Inc. All rights reserved.
Apple, the Apple logo, APDA, AppleCD SC, AppleLink, AppleShare, AppleTalk, LaserWriter, MacApp, Macintosh,
MPW, and SANE are trademarks of Apple Computer, Inc., registered in the U.S. and other countries. ColorSync,
develop, Finder, Macintosh Quadra, MovieShop, Performa, PowerBook, QuickDraw, QuickTime, Sound Manager,
System 7, TrueType, and WorldScript are trademarks of Apple Computer, Inc. HyperCard is a registered trademark of
Claris Corporation. Adobe and PostScript are trademarks of Adobe Systems Incorporated, which may be registered in
certain jurisdictions. NuBus is a trademark of Texas Instruments. All other trademarks are the property of their
respective owners.
The new   develop Bookmark   CD.   2
Your missives (and missiles) to us.   4
Writing Localizable Applications   by Joseph Ternasky and Bryan K.
(“Beaker”) Ressler   Some real-world tips and tricks demonstrating “global-aware”
text-handling techniques that will help you write more localizable applications.   7
3-D Rotation Using a 2-D Input Device   by Michael Chen   A user interface
technique for intuitive rotation of 3-D objects using a 2-D input device like a mouse
or pen.   40
Video Digitizing Under QuickTime   by Casey King and Gary Woodcock
Whether you’re developing a video digitizer, writing an application to control one,
or just curious about how it all works, this will tell you what you need to know.   58
Making Better QuickTime Movies   by Kip Olson   How to optimize your
QuickTime movies for quality playback from CD-ROM.   93
Print Hints: Syncing Up With ColorSync   by John Wang   All about
ColorSync, Apple’s color matching technology.   34
Graphical Truffles: Four Common Graphics Answers   by Bill Guschwan
Tips on the first few things to try when faced with a question about QuickDraw.   54
Somewhere in QuickTime: Derived Media Handlers   by John Wang
How to write derived media handlers, a powerful new ability in QuickTime 1.5.   87
Be Our Guest: System Enablers   by C. K. Haun   The scoop on these new
chunks of system software. (Hands off!)   107
The Veteran Neophyte: Tiny Futures   by Dave Johnson   Dave reports on
a bizarre and slightly scary conference on nanotechnology.   122
KON & BAL’s Puzzle Page: Finder++   by Konstantin Othmer and Bruce
Leak   Try your luck (or is it skill?) on yet another puzzle from those masters of
Macintosh machinations, KON and BAL.   127
Macintosh Q & A   Apple’s Developer Support Center answers your product
development questions.   109
133 I N D E X
Q   &   A
C O L U M N S
A R T I C L E S
L E T T E R S
E D I T O R I A L

Reading notes: Article headings and page numbers in the contents list are separated from titles by layout; reading order of the table of contents may be uncertain.

Printed product names: Apple · AppleCD SC · AppleLink · AppleShare · AppleTalk · LaserWriter · MacApp · Macintosh · MPW · SANE · ColorSync · develop · Finder · Macintosh Quadra · MovieShop · Performa · PowerBook · QuickDraw · QuickTime · Sound Manager · System 7 · TrueType · WorldScript · HyperCard · Adobe · PostScript · NuBus

Printed dates: June 1993 · 1993

Languages: English

[Original PDF page 3](https://www.vintageapple.net/files/8442e02ee4752afecf7555e90a118d6fb6c1c7dbd6a701222751ae76f6ca7630/develop-14_9306_June_1993.pdf#page=3)

### PDF page 4

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-develop-14-9306-june-1993-2ce589/1#scan-54f9a04cdc3309f2d3e86c92412dc76bbcffe34c0eddb03f5ea90bfb10f4a891)

Transcribed text:

Dear Readers,
I’d like to talk about a change that you’ve no doubt already noticed: printed   develop   is
no longer accompanied by the   Developer CD Series   disc, but instead comes with its
own CD as in days of old. Yes, we’ve come full circle:   develop   had its own CD for
Issues 1 through 7; then, starting with Issue 8, it was accompanied by the   Developer
CD Series   disc, which offered a superset of the contents of   develop ’s own CD. The
Developer CD is actually a monthly CD that’s mailed to members of Apple’s
developer programs and to subscribers to the Apple Developer Mailing (formerly the
APDA Technical Information Mailing). At the time, it seemed simpler and more
beneficial all around to just take every third Developer CD and make it the CD that
accompanies   develop .
So why did we change back? Well, it became increasingly common for Developer
CD contributors to submit valuable software (or documentation) that was considered
appropriate for the “monthly mailing” but   not   for develop. The bargain low price of
develop   simply wasn’t adequate to cover the value of the software. (An example that
some of you noticed is WorldScript, which made it onto the monthly Developer CD
but was pulled at the last minute from the Developer CD accompanying   develop ; see
the Letters section.) Keeping valuable materials off the Developer CD or raising the
price of a   develop   subscription would have been far less desirable than the option
finally chosen, to restore   develop   to having its own disc that’s a subset of the
Developer CD. This new disc, which comes tucked into   develop   like a bookmark, is
called the   develop Bookmark   CD.
This is not to say that   develop   isn’t still a bargain! Even without the CD, it’s a high-
quality journal with articles that have passed rigorous review by engineers at Apple
and are also enjoyable to read. Throw in a CD containing the code described in the
articles, and already you’re getting your money’s worth (IMHO). But   develop ’s CD
gives you even more than that: it contains all back issues and their code, Tech Notes,
Sample Code from the Developer Support Center,   Apple Direct , the Apple
DocViewer application for electronic browsing, and assorted useful tools and
documentation.
On the   develop Bookmark   CD, you’ll notice some things missing from past CDs you
received with   develop , primarily system software and   Inside Macintosh   (both old and
new). If you still want to get these, consider subscribing to the Apple Developer
d e v e l o p   Issue 14
CAROLINE ROSE   (AppleLink CROSE) was a
programmer for seven years, until around the time
“goto” went out of fashion. In those days, C was
just the third letter of the alphabet and OOPS a
loud interjection. Caroline’s technical background
came in handy when she was hired by Apple to
work on
Inside Macintosh Volumes I–III (may they
rest in peace). What she did next after that turned
out to be merely an interruption in her career at
Apple, where she returned two years ago to edit
develop. Speaking of “Oops,” Caroline betrayed
both her Italian heritage and her intense
perfectionism by misspelling “mozzarella” in her
bio in Issue 13; she received as punishment 30
lashes with a wet strand of spaghetti. Her next
vacation will be spent on the Isle of Spice (trivia
question: where?), and she is already brushing up
on how to spell “callaloo” and “ylang-ylang.”•
2
CAROLINE ROSE

Reading notes: Headline is an informal salutation rather than a formal title; the masthead 'develop' and issue label appear only in the text Source contains interleaved sidebar text about Caroline Rose, so reading order may be mixed

Printed product names: develop · Developer CD Series · Developer CD · WorldScript · develop Bookmark CD · Apple Direct · Apple DocViewer · Inside Macintosh · Inside Macintosh Volumes I–III · Apple Developer Mailing · APDA Technical Information Mailing · Tech Notes · Sample Code

Printed dates: Issue 14 · Issue 8 · Issue 13 · Issues 1 through 7

Languages: English

[Original PDF page 4](https://www.vintageapple.net/files/8442e02ee4752afecf7555e90a118d6fb6c1c7dbd6a701222751ae76f6ca7630/develop-14_9306_June_1993.pdf#page=4)

### PDF page 5

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-develop-14-9306-june-1993-2ce589/1#scan-049e95aa2966903a65cd002d98bd063e00fd1c674561d99628f2dfc746ff94fc)

Transcribed text:

Mailing so that you’ll once again receive the monthly   Developer CD Series   disc, which
now includes more than ever before. And keep an eye out for other products in the
APDA catalog that may include what you want. (See the inside back cover for
information about APDA.)
For those   develop   subscribers who receive the Developer CD monthly and don’t care
which disc   develop   comes with, you’ll continue to have a beautiful printed copy of the
journal that you can curl up with and easily pass along (think of it as “ develop
unplugged”). The months that   develop   is published, the Technical Documentation
edition of the Developer CD will be included in the monthly mailing. (See the
March issue of   Apple Direct   for details on the new three-edition   Developer CD Series .)
To clean the CD slate, so to speak, printed back issues of   develop   will now be
accompanied by the Bookmark CD corresponding to this issue, rather than the
Developer CDs they were originally paired with. Remember, all   develop   code is kept
up to date on the CD, and bugs fixed as necessary, so the latest CD is always the best
one to refer to for code.
Since   develop   readers will have either the   develop Bookmark   CD or the   Developer CD
Series   disc, how does   develop   now refer to the disc containing the code it describes?
After endless debate on this crucial issue, we decided on “this issue’s CD.” Clever,
huh? We’re proud of it.
Speaking of pride, I can’t help but mention that   develop   won the Excellence award in
the Society for Technical Communication’s 1992 Northern California Technical
Publications and Arts Competition. Please don’t forget to let us know how we can
make   develop   even better!
Caroline Rose
Editor
EDITORIAL   June 1993
3
SUBSCRIPTION INFORMATION
Subscriptions to
develop are available through
APDA (see inside back cover for APDA
information), or you can use the subscription card
in the back of this issue. Please address all
subscription-related inquiries to
develop, Apple
Computer, Inc., P.O. Box 531, Mt. Morris, IL
61054 (or AppleLink DEV.SUBS).•
BACK ISSUES
For information about back issues of
develop and
how to obtain them, see the last page of this
issue. Back issues are also on the
develop
Bookmark CD and the
Developer CD Series
disc.•

Reading notes: Primary heading not clearly identifiable in the supplied copy; headline set to null. Reading order of editorial and subscription sections is partly ambiguous due to layout-stripped text.

Printed product names: develop · Developer CD Series · APDA · Bookmark CD · Apple Direct · Developer CD · AppleLink

Printed dates: June 1993 · 1992 · March

Languages: English

[Original PDF page 5](https://www.vintageapple.net/files/8442e02ee4752afecf7555e90a118d6fb6c1c7dbd6a701222751ae76f6ca7630/develop-14_9306_June_1993.pdf#page=5)

### PDF page 6

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-develop-14-9306-june-1993-2ce589/1#scan-87a6cc21d26a43f6fedd5809874614b495e064a48b46a25b436d70b8e56bbe6a)

Transcribed text:

DEBUGGING LESSON
I just finished reading the debugging
article in Issue 13 and I wondered if you
had ever written up anything about this
one:
TYPE
LHdl   =   ^LPtr;
LPtr   =   ^LONGINT;
{$S   Fill_Seg}
PROCEDURE   FillWithData(h:Handle);
BEGIN
h^^   :=   23;
END;
{$S   Main}
PROCEDURE   CanYouSpotTheProblem;
VAR
h   :LHdl;
BEGIN
h   :=   LHdl(NewHandleClear(Size));
FillWithData(h);
END.
I call this “Routines That Don't Move
Memory, Most of the Time.” The
problem comes about because of the
hidden trap to LoadSeg. If all the code
resources are preloaded, everything is
OK. But if they aren’t, the call to
FillWithData may cause a memory
move, and   h   is not locked. This is
especially vile and nasty when, like us,
you run in a very limited heap and
unload your code frequently.
I know that if you read   Inside Macintosh
Volume II very carefully this is clear.
But most of the interesting examples are
the ones that are well documented but
hard to catch.
—Bob Tipton
Thanks for the example. You’re right, of
course; calling routines in other, unloaded
segments can indeed move memory. This is
documented in various places, but unless you
understand very clearly how your program
occupies memory and how the Segment
Loader works, it’s easy to overlook. Judicious
use of a good heap scramble/purge will catch
this one before it catches you.
Thanks for writing!
—Dave Johnson
WHERE IN THE WORLD(SCRIPT)?
I was looking for the WorldScript folder
on Issue 12’s Developer CD, “Wayne’s
GWorld” (Dev.CD Nov/Dec 92).
According to the Contents Catalog
stack, the WorldScript folder should be
found in this path: Dev.CD Nov/Dec
92: System Software: WorldScript. But
it’s not there. I talked with a friend of
mine who has the same CD, and he
found the folder where it’s supposed to
be. We checked our CDs and found out
that his says 564.6 MB on disc, 69.7 MB
available, while mine says 555.5 MB on
disc, 78.9 MB available. What’s going
on?
—Toru Kawate
P.S. Thank you for the fine journal and
CD. I really enjoy them.
I received Issue 12 of   develop   with the
Nov/Dec 1992   Developer CD Series   disc.
I enjoy the Developer CD but had the
following trouble: I used the Contents
Catalog on the CD and found the title
“WorldScript.” But I didn't find the
folder at the pathname Dev.CD
Nov/Dec 92: System Software:
WorldScript.
—Hirokazu Yaguchi
d e v e l o p   Issue 14
WE WORRY WHEN YOU DON’T WRITE
We welcome timely letters to the editors,
especially from readers reacting to articles that
we publish in
develop. Letters should be
addressed to Caroline Rose (or, if technical
develop-related questions, to Dave Johnson) at
Apple Computer, Inc., 20525 Mariani Avenue,
M/S 75-2B, Cupertino, CA 95014 (AppleLink
CROSE or JOHNSON.DK). All letters should
include your name and company name as well
as your address and phone number. Letters may
be excerpted or edited for clarity (or to make
them say what we wish they did).•
4
LETTERS

Reading notes: Pathname 'Dev.CD Nov/Dec 92: System Software: WorldScript' appears with inconsistent line breaks in source Issue 12 Developer CD date shown as both 'Nov/Dec 92' and 'Nov/Dec 1992'

Printed product names: WorldScript · Developer CD Series · Inside Macintosh Volume II · develop

Printed dates: Issue 13 · Issue 12 · Issue 14 · Nov/Dec 92 · Nov/Dec 1992 · 564.6 MB · 69.7 MB · 555.5 MB · 78.9 MB

Languages: English

[Original PDF page 6](https://www.vintageapple.net/files/8442e02ee4752afecf7555e90a118d6fb6c1c7dbd6a701222751ae76f6ca7630/develop-14_9306_June_1993.pdf#page=6)

### PDF page 7

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-develop-14-9306-june-1993-2ce589/1#scan-439a78871401782eb58e9b1e19d6c1420105b34945fc25985b3bce2842f05956)

Transcribed text:

At the last minute, WorldScript was pulled
from the CD accompanying   develop , but
there wasn’t enough time to remove it from
the Contents Catalog. WorldScript did,
however, remain on the Developer CD
Series disc received monthly by members of
Apple’s developer programs.
The reason for this is tied in with why
develop   now has its own CD, separate
from the Developer CD Series disc; for
details, see the editorial on page 2.
—Caroline Rose
WHEN TO EXPECT DEVELOP
Sorry to disturb you, but because I’ve
had problems with my subscription (two
copies, no copies) — which I’ve worked
out, I think, with the DEV.SUBS people
— I’m wondering: Is there some sort of
publication schedule available that will
allow me to fret about this without
disturbing anyone? (“Gee, it’s two weeks
past when this should be out . . . what
am I missing out on?!”)
Y’all are doing a fine job. Just be sure to
run your issues through a Quark
SmugCheck to keep the content only
kinda wacky and smug without being
too much that way.
Thanks!
—J. C. Burns
I’m sorry you’ve had subscription problems,
but I’m grateful that you pursued them
with DEV.SUBS rather than sending an
AppleLink to CROSE or DEVELOP;
many developers make the mistake of
contacting   develop   staff with these
problems, but it’s really out of our realm.
We are, however, doing our best to make the
problems go away.
If you’re located in the U.S., you should
normally receive   develop   around the first
of March, June, September, and December.
(If you’re outside the U.S., it’s hard to say,
because   develop   might need to wait for
other materials to be merged into the same
mailing.)
Thanks for the tip on SmugCheck; it’s just
what we need!
—Caroline Rose
M.TN.DESIGNATIONS
I notice you still add the numbers in
references to Tech Notes. If dropping
the numbers were such progress, that
wouldn’t be necessary.   And   the new
alphanumeric reference codes are not
used.
I’m a technical person who is used to
abbreviations everywhere for
conciseness. Besides, citing with full
titles adds noise and a lot of
repetitiveness.
—Peter Fink
We decided to include the old numbers in
references to Tech Notes to help out those
people who like to use hard copy but still
have the numbered versions. We’ll stop
doing that once enough time has elapsed
that we expect everyone will have the new,
unnumbered versions.
For a variety of reasons, we decided not to
include the new designations, such as
“M.PT.StandAloneCode,” which identify
the category/folder for each Note. We
figured people could find the Notes in the
new file organization easily enough — a
Note on QuickTime is in the QuickTime
folder, right? But we’ve since realized that
the category isn’t always obvious. So
LETTERS   June 1993
5

Reading notes: Headline 'M.TN.DESIGNATIONS' is a section label and may not be the primary heading Quotation marks and dashes around 'Gee, it's two weeks past when this should be out' may affect reading order Possible truncation at end of final sentence in the letter about Tech Note categories

Printed product names: WorldScript · develop · Developer CD Series · Quark SmugCheck · QuickTime

Printed dates: June 1993

Languages: English

[Original PDF page 7](https://www.vintageapple.net/files/8442e02ee4752afecf7555e90a118d6fb6c1c7dbd6a701222751ae76f6ca7630/develop-14_9306_June_1993.pdf#page=7)

### PDF page 8

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-develop-14-9306-june-1993-2ce589/1#scan-cecf7876c8c00d11592f7b453594afb9c76f9afefec3cbd2799e1c18a7cdb64e)

Transcribed text:

starting with this issue we refer to Notes by
category — for example, “See the
Macintosh (Platforms & Tools) Technical
Note, ‘Stand-Alone Code, ad nauseam.’”
Many developers simply look up specific
notes in the various Tech Note indexes, and
don’t use the special designations at all. For
those who do use them, they’ve been
improved to correlate more closely to the
Notes’ titles; for more on this and other
recent Tech Note improvements, see the box
on this page.
We’re always open to suggestion, but so far
you’re the only one to mention this. If others
reading this reply have similar feedback, I
hope they’ll let us know.
—Caroline Rose
d e v e l o p   Issue 14
Send your feedback on Tech Notes   or
Sample Code to Neil at AppleLink NMDAY or on
the Internet at nmday@apple.com.•
6
On the August 1992
Developer CD Series disc, the new
organization of Macintosh Technical Notes made its
debut. Since then, we’ve been listening for suggestions for
improvement. The vast majority of the feedback has been
positive, but you did point out a few areas for attention:
•   Better name correlation: Filenames, titles, and
designations like “M.PT.StandAloneCode” needed to
be more tightly bound to one another. The latest
release fixes this problem; Tech Notes should be easier
to find across the print and electronic versions.
•   Organization: Tech Notes are now organized
alphabetically by title within each section. This was
always the intention, but because filenames and titles
didn’t really match, things were a little haphazard.
•   Locating items in print: We’ve added the designation
to the footer of each note, so you can quickly tell
where you are as you flip through the pages.
Many of you have asked how to quickly locate the most
recently written and updated Tech Notes. On the CD,
aliases to the latest Notes can always be found in the
“What’s new on this CD?” folder. Using the Finder’s View
by Date option on the category folders is a handy way to
see the most recent updates.
Also, please note that to group related information more
logically, we’ve integrated Q&As into the Tech Note
library. Q&As appear at the beginning of every section in
the print version, and have the label “Essential” in the
electronic version (or a different label if you’ve changed
that label name on your system).
Many of you noticed that the Tech Note and Q&A stacks
have gone away: the Tech Note library is now available
in Apple DocViewer format (as well as Microsoft Word
files). You should find the searching and viewing in Apple
DocViewer much more usable; please check it out.
These changes should make information much easier to
find. As always, if you have suggestions or ideas for
improving the Tech Note library, please let me know!
TECH NOTES AND Q&AS: STATE OF THE UNION
BY NEIL DAY, TECH NOTE AND SAMPLE CODE POOH-BAH

Reading notes: Reading order between the two columns of the feedback letter and the article body may be ambiguous

Printed product names: Macintosh · Apple DocViewer · Microsoft Word · Finder · AppleLink

Printed dates: August 1992

Languages: English

[Original PDF page 8](https://www.vintageapple.net/files/8442e02ee4752afecf7555e90a118d6fb6c1c7dbd6a701222751ae76f6ca7630/develop-14_9306_June_1993.pdf#page=8)

### PDF page 9

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-develop-14-9306-june-1993-2ce589/1#scan-450a1cce821919ce4c8d958eb5af463c94a66a41f2c7d6e1cd462ffd274e5dc4)

Transcribed text:

More and more software companies are finding rich new markets
overseas. Unfortunately, many of these developers have also discovered
that localizing an application involves a lot more than translating a
bunch of STR# resources. In fact, localization often becomes an
unexpectedly long, complex, and expensive development cycle. This
article describes some common problems and gives proactive engineering
advice you can use during initial U.S. development to speed your
localization efforts later on.
Most software localization headaches are associated with text drawing and character
handling, so that’s what this article stresses. Four common areas of difficulty are:
• keyboard input (specifically for two-byte scripts)
• choice of fonts and sizes for screen display
• date, time, number, and currency formats and sorting order
• character encodings
We discuss each of these potential pitfalls in detail and provide data structures and
example code.
PRELIMINARIES
Throughout the discussion, we assume you’re developing primarily for the U.S.
market, but you’re planning to publish internationally eventually (or at least you’re
trying to keep your options open). As you’re developing your strategy, here are a few
points to keep in mind:
•   Don’t dismiss any markets out of hand — investigate the potential
rewards for entry into a particular market and the features
required for that market.
WRITING LOCALIZABLE APPLICATIONS   June 1993
7
JOSEPH TERNASKY   wrote accounting software
for a “Big Eight” firm until a senior partner
recruited him into the Order of the Free Masons.
He showed great promise as an Adept, and the
Order sent him to the Continent to continue his
studies under the notorious Aleister Crowley,
founder of the Temple of the Golden Dawn. After
years of study in the Great Art, Joseph was sent
back to America to accelerate the breakdown
of civil order and the Immanentizing of the
Eschaton. He resumed his former identity and
now spends his remaining years adding
hopelessly complicated international features to
the Macintosh system software and various third-
party applications.•
JOSEPH TERNASKY AND
BRYAN K. (“BEAKER”)
RESSLER
WRITING
LOCALIZABLE
APPLICATIONS

Reading notes: Author bio text appears in a separate column block, so reading order relative to the article body is uncertain. Line-break hyphenation and bullet markers may affect exact sentence boundaries.

Printed product names: Macintosh

Printed dates: June 1993

Languages: English

[Original PDF page 9](https://www.vintageapple.net/files/8442e02ee4752afecf7555e90a118d6fb6c1c7dbd6a701222751ae76f6ca7630/develop-14_9306_June_1993.pdf#page=9)

### PDF page 10

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-develop-14-9306-june-1993-2ce589/1#scan-2e8329681e7a06989d97018ee4940bcd467de0d3139f279d1f90a23e8b08936b)

Transcribed text:

•   The amount of effort required to support western Europe is
relatively small. Depending on the type of application you’re
developing, the additional effort required for other countries isn’t
that much more. There’s also a growing market for non-Roman
script systems inside the U.S.
•   The labor required to build a   truly global   program is much less if
you do the work up front, rather than writing quick-and-dirty
code for the U.S. and having to rewrite it later.
•   Consider market growth trends. A market that’s small now may be
big later.
This article concentrates on features for western Europe and Japan because those are
the markets we’re most familiar with. We encourage you to investigate other markets
on your own.
LINGO LESSON 101
This international software thing is rife with specialized lingo. For a complete
explanation of all the terms, see the hefty “Worldwide Software Overview,” Chapter
14 of   Inside Macintosh   Volume VI. But we’re not here to intimidate, so let’s go over a
few basic terms.
Script.   A writing system that can be used to represent one or more human languages.
For example, the Roman script is used to represent English, Spanish, Hungarian, and
so on. Scripts fall into several categories, as described in the next section, “Script
Categories.”
Script code.   An integer that identifies a script on the Macintosh.
Encoding.   A mapping between characters and integers. Each character in the
character set is assigned a unique integer, called its   character code . If a character
appears in more than one character set it may have more than one encoding, a
situation discussed later in the section “Dealing With Character Encodings.” Since
each script has a unique encoding, sometimes the terms   script   and   encoding   are used
interchangeably.
Character code.   An integer that’s associated with a given character in a script.
Glyph.   The displayed form of a character. The glyph for a given character code may
not always be the same — in some scripts the codes of the surrounding characters
provide a context for choosing a particular glyph.
Line orientation.   The overall direction of text flow within a line. For instance,
English has left-to-right line orientation, while Japanese can use either top-to-
bottom (vertical) or left-to-right (horizontal) line orientation.
d e v e l o p   Issue 14
BRYAN K. (“BEAKER”) RESSLER   (AppleLink
ADOBE.BEAKER) had his arm twisted by
develop
editor Caroline Rose, forcing him to write
develop
articles on demand. He resides in a snow cave in
Tibet, where he fields questions ranging from
“Master, what is the meaning of life?” to “Master,
why would anyone want to live in a Tibetan snow
cave and answer questions for free?” When he’s
not busy answering the queries of his itinerant
clientele, he can usually be found writing some
esoteric sound or MIDI application. Back in his
days of worldly endeavor, Beaker wrote some of
the tools that were used for testing Kanji TrueType
fonts, and then worked on System 7 in the
TrueType group. Hence the retreat to his current
colder but more enlightened and sane
environment.•
8

Reading notes: Running page header and page number may be layout artifacts rather than body copy

Printed dates: Issue 14

Languages: English · Japanese

[Original PDF page 10](https://www.vintageapple.net/files/8442e02ee4752afecf7555e90a118d6fb6c1c7dbd6a701222751ae76f6ca7630/develop-14_9306_June_1993.pdf#page=10)

### PDF page 11

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-develop-14-9306-june-1993-2ce589/1#scan-6c56f4469d9fed9a90bd4ef4f9e0809f312dbfc0120d382370fe942ef49d792d)

Transcribed text:

Character orientation.   The relationship between a character’s baseline and the line
orientation. When the line orientation and the character baselines go in the same
direction, it’s called   with-stream   character orientation. When the line orientation
differs from the character baseline direction, it’s called   cross-stream   character
orientation. For instance, in Japanese, when the line orientation is left-to-right,
characters are also oriented left-to-right (with-stream). Japanese can also be
formatted with a top-to-bottom (vertical) line orientation, in which case character
baselines can be left-to-right (cross-stream) or top-to-bottom (with-stream). See
Figure 1.
WRITING LOCALIZABLE APPLICATIONS   June 1993
9
Line
orientation
With-stream
character
orientation
Character
orientation
Line
orientation
Cross-stream
character
orientation
Line
orientation
Cross-
stream
With-
stream
Figure 1
Line and Character Orientation in Mixed Japanese/English Text

Reading notes: Figure 1 labels ('Line orientation', 'With-stream character orientation', 'Cross-stream character orientation') appear in a scrambled reading order in the supplied text.

Printed dates: June 1993

Languages: English · Japanese

[Original PDF page 11](https://www.vintageapple.net/files/8442e02ee4752afecf7555e90a118d6fb6c1c7dbd6a701222751ae76f6ca7630/develop-14_9306_June_1993.pdf#page=11)

[Next transcribed scans](https://www.vintageapple.net/transcripts/media/va-develop-14-9306-june-1993-2ce589/2.md)
