realbasic-nug
[Top] [All Lists]

Re: Styled Text compression

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Styled Text compression
From: Joel Rosenblum <pyropostal at mac dot com>
Date: Fri, 4 Jan 2002 15:44:19 -0500
I'm having a problem with Styled Text.I need to read the styled text file in, compress, write back out. Then, later, read in, decompress and display
the styled text.


So, I need to compress styled text AND make it cross platform.

I can read/write the styled text file using open/save styledtext,
X-platform - OK

I can do the de/compression with Einhugers Zip plugin,
X-platform - OK

I've read the styled text files as text and as binary but keep loosing the
styles when I do this.

Why do you keep losing the styles? Are you trying to use mac styledata on win32 or vice versa? If so, you can't. They are different. But I've got a few classes which let you do that...



<Prev in Thread] Current Thread [Next in Thread>