Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.acorn.programmer > #5751

Re: Font problem

Subject Re: Font problem
Newsgroups comp.sys.acorn.programmer
From Alan Adams <alan@adamshome.org.uk>
Date 2019-05-13 21:54 +0100
Message-ID <3865b2b357.Alan.Adams@ArmX6.adamshome.org.uk> (permalink)
References <003219b257.Alan.Adams@ArmX6.adamshome.org.uk> <57b27c5a25Paul@sprie.nl> <e52928b357.Alan.Adams@ArmX6.adamshome.org.uk> <mpro.prgel000idcos0ogk.spamtrap@mw-software.com>
Organization Orpheus Internet Services

Show all headers | View raw


In message <mpro.prgel000idcos0ogk.spamtrap@mw-software.com>
          Martin Wuerthner <spamtrap@mw-software.com> wrote:

> Alan Adams <alan@adamshome.org.uk> wrote:

>> I still want to know what mechanism could cause the desktop font to revert
>> to the system font. Is it, for example, a pointer in shared memory which
>> could be corrupted?

> No, that would be very unlikely. From what I have observed when using fonts
> in icons the Wimp has a rather conservative approach to error handling in
> this area: If anything goes wrong at any point with a font used in a window,
> it switches everything back to the system font. So, the most likely cause is
> that something is wrong with the icon definitions in your window. For
> instance, when you copy the icon are you certain that you handle its
> indirect data and validation string pointers correctly?

Thanks, I'll look into that.  It fits, because the change occurs 
immediately the icons are copied.

I already know that all the validation strings are done by pointing the 
addreses to a single place containing the string. I am assuming that 
doesn't confuse things. This is old code, so a refresh wouldn't be a bad 
thing.

-- 
Alan Adams, from Northamptonshire
alan@adamshome.org.uk
http://www.nckc.org.uk/

Back to comp.sys.acorn.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Font problem Alan Adams <alan@adamshome.org.uk> - 2019-05-10 19:25 +0100
  Re: Font problem Alan Adams <alan@adamshome.org.uk> - 2019-05-10 19:35 +0100
    Re: Font problem Alan Adams <alan@adamshome.org.uk> - 2019-05-10 20:19 +0100
  Re: Font problem Matthew Phillips <spam2011m@yahoo.co.uk> - 2019-05-10 21:21 +0100
  Re: Font problem Harriet Bazley <harriet@bazleyfamily.co.uk> - 2019-05-11 01:20 +0100
  Re: Font problem Paul Sprangers <Paul@sprie.nl> - 2019-05-11 14:28 +0200
    Re: Font problem Alan Adams <alan@adamshome.org.uk> - 2019-05-12 20:44 +0100
      Re: Font problem Martin Wuerthner <spamtrap@mw-software.com> - 2019-05-13 19:43 +0200
        Re: Font problem Alan Adams <alan@adamshome.org.uk> - 2019-05-13 21:54 +0100
        Re: Font problem Alan Adams <alan@adamshome.org.uk> - 2019-05-14 11:57 +0100
      Re: Font problem jgh@mdfs.net - 2019-05-14 21:10 -0700
        Re: Font problem Alan Adams <alan@adamshome.org.uk> - 2019-05-15 10:11 +0100

csiph-web