Re:Project Naptha: a browser extension that enables text sel...
by vidarh on Wednesday April 23, 2014 @12:25AM
(#7632091)
You're probably right - the manual says it did. It'd be able to get the last used font from the RastPort structure used to draw to the window [1].
If the window was rendered with multiple font that wouldn't be reliable, but I guess it'd likely be "good enough" to avoid a wider search most of the time.
[1] Here's the RastPort struct from AROS (open source re-implementation of AmigaOS): http://repo.or.cz/w/AROS.git/blob/HEAD:/compiler/include/gra...
Even though it solved a problem we don't usually have today (this story notwithstanding), it was still one of the most amazingly useful programs ever.