denemo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Denemo-devel] GTK3 branch was Re: Playback "cursor", aka playhead


From: Richard Shann
Subject: Re: [Denemo-devel] GTK3 branch was Re: Playback "cursor", aka playhead
Date: Fri, 25 Nov 2011 16:17:47 +0000

On Fri, 2011-11-25 at 08:51 -0600, Jeremiah Benham wrote:
> Svg would like nicer wouldnt it (not that our goal is to look pretty)?
Yes, it scales up and down. And looking pretty will make it marginally
easier to read, and be more likely to attract users.

I was in a rush earlier on when I said I had fixed the png load, in fact
I haven't got the width and height of the png. This was available from
the gdkpixbuf loader, but appears not to be available from the cairo
loader.
I am checking in code now that gets the width and height by loading the
png as a pixbuf, which looks pretty silly, perhaps the png spec will
tell us that the width and height are right at the start of the file?
This code may not compile on gtk3, depending what they have ditched.

Richard



> 
> Jeremiah
> 
> Sent from my Samsung smartphone on AT&T
> 
> Richard Shann <address@hidden> wrote:
> 
> >I've fixed the .png load in gtk3, so we don't urgently need to change to
> >svg :)
> >
> >Richard
> >
> >On Fri, 2011-11-25 at 12:28 +0000, Richard Shann wrote:
> >> On Fri, 2011-11-25 at 11:52 +0000, Richard Shann wrote:
> >> > I haven't looked at the DenemoGraphic stuff yet.
> >> > 
> >> 
> >> I have looked at the .png graphics in the gtk3 branch, they are all
> >> displaying as black rectangles. I think we should drop them now in favor
> >> of svg graphics. I have removed the scaling and origin shifting of these
> >> and fixed the type (DENMO_PATTERN), and tested with a 40x40 .svg which
> >> happened to have already and it seems to be working fine (specifically
> >> it does not cause the drawing to grind to a halt).
> >> This will mean a volunteer to create .svg images for what are
> >> current .png in actions/bitmaps
> >> The important ones for me are the repeat bars, first/second time bars,
> >> some of the others could be replaced by glyphs from the fonts we have
> >> available (e.g. rehearsal mark is just a large bold capital A)
> >> 
> >> The alternative is some work to get the bitmaps drawing, but it needs a
> >> cairo guru for that I guess. It is probably just a one or two word
> >> incantation, using the surface as a mask or some such...
> >> 
> >> Richard
> >> 
> >> 
> >> 
> >> _______________________________________________
> >> Denemo-devel mailing list
> >> address@hidden
> >> https://lists.gnu.org/mailman/listinfo/denemo-devel
> >
> >
> >
> >_______________________________________________
> >Denemo-devel mailing list
> >address@hidden
> >https://lists.gnu.org/mailman/listinfo/denemo-devel





reply via email to

[Prev in Thread] Current Thread [Next in Thread]