My TextMate today started acting funny. When some text is represented as italic (e.g., in LaTeX, inside an \emph{THIS TEXT SHOWN AS ITALIC} , the text looks corrupted: some of the caracters are replaced by other characters. If I switch back to non-italic e.g. by changing bundle, everything looks ok.
Two funny thngs:
1) not all characters are changed. This
\textit{AAAAAAAAAAAAAAAAAAAAAAAAAAAA}
appears perfect. On the other hand, if I write
\textit{EEEEEEEEEEEEEEEEEEEEEEEEEEEEE}
some of the E's are replaced by an upperscore: the 4th, the 8th, 12th AND 13th, etc.periodically
2) if I shift the thing, the position of the corrupted characters remain fixed:i.e., if I write
\textit{EEEEEEEEEEEEEEEEEEEEEEEEEEEEE}
(three spaces at the beginning) now the 1st, 5th, etc are changed into an upperscore.
Any ideas before I download a fresh copy and reinstall?
Thanks Piero
On 4 Jun 2008, at 17:16, Piero D'Ancona wrote:
Piero D'Ancona <pierodancona@...> writes:
My TextMate today started acting funny.
After I restarted my Mac the behaviour is back to normal. Still curious about what caused it (but as long as it does not occur again...)
The text rendering system will cache bitmaps generated from the outline fonts.
It is not uncommon that this cache gets corrupted. Sometimes restarting the app is enough, sometimes the machine, sometimes the cache manually needs to be flushed.
The text rendering system will cache bitmaps generated from the outline fonts.
It is not uncommon that this cache gets corrupted. Sometimes restarting the app is enough, sometimes the machine, sometimes the cache manually needs to be flushed.
How is it that the cache comes to be corrupted? This happens to me at least a few times per year, and it seems to be a fairly wide spread problem. None of the other data on my computer gets corrupted 3 or 4 times a year, what is the deal?
On 4 Jun 2008, at 19:02, Alex Ross wrote:
The text rendering system will cache bitmaps generated from the outline fonts.
It is not uncommon that this cache gets corrupted. Sometimes restarting the app is enough, sometimes the machine, sometimes the cache manually needs to be flushed.
How is it that the cache comes to be corrupted? This happens to me at least a few times per year, and it seems to be a fairly wide spread problem. None of the other data on my computer gets corrupted 3 or 4 times a year, what is the deal?
How do you verify that none of your other data gets corrupted? :)
Though I guess there just is a bug somewhere in Apple’s code. Presumably something like a font cache is accessed by multiple processes, and so, it could very likely be a race condition (two processes both adding to the cache).
I did notice that one of the Leopard seeds actually caused sub-daily font corruption in TextMate’s HTML output window. Relaunching TextMate fixed it though.
But also since Leopard GM I personally have not had to reset my font cache.