Re: [racket-users] emoji in source code

2020-08-18 Thread Matthew Flatt
It turns out that the commit below is not part of the main Cairo
branch. (It builds on other commits that haven't been merged, and there
appear to be issues.) So, it's not as simple as upgrading Cairo.


At Mon, 20 Jul 2020 09:02:50 -0600, Matthew Flatt wrote:
> The emoji problem on Mac OS has to do with the system-level drawing
> function, CGContextShowGlyphsAtPoint, that used at the Cairo layer, at
> least in the version of Cairo that we're using. That function doesn't
> support emoji glyphs.
> 
> A newer version of Cairo handles emoji glyphs:
> 
> https://gitlab.freedesktop.org/cairo/cairo/commit/416a0005ab6a2b9a709d05281025e
> 3581d612989?expanded=1
> 
> So, I've put "upgrade Cairo" on my todo list.
> 
> 
> At Sun, 19 Jul 2020 16:36:53 -0500, Robby Findler wrote:
> > I'm not sure what's going on, but this smily works: ☺
> > 
> > Robby
> > 
> > 
> > On Sun, Jul 19, 2020 at 10:55 AM Shriram Krishnamurthi 
> > wrote:
> > 
> > > I wrote the following program:
> > >
> > >   (define /: '😐)
> > >
> > > which at least on my screen looks like
> > >
> > >
> > >
> > > in Aquamacs and in my browser (modulo dark/light mode).
> > >
> > > However, no matter which mode I use in OS X AND which color mode I use in
> > > DrRacket, the emoji just isn't visible:
> > >
> > >
> > >
> > > Not the most pressing problem in the world, but figured this is probably
> > > not desirable.
> > >
> > > Shriram
> > >
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > > "Racket Users" group.
> > > To unsubscribe from this group and stop receiving emails from it, send an
> > > email to racket-users+unsubscr...@googlegroups.com.
> > > To view this discussion on the web visit
> > > 
> > 
> https://groups.google.com/d/msgid/racket-users/af814198-b86b-4905-a741-4b59d605
> > ca8co%40googlegroups.com
> > > 
> > 
>  > 5ca8co%40googlegroups.com?utm_medium=email&utm_source=footer>
> > > .
> > >
> > 
> > -- 
> > You received this message because you are subscribed to the Google Groups 
> > "Racket Users" group.
> > To unsubscribe from this group and stop receiving emails from it, send an 
> > email to racket-users+unsubscr...@googlegroups.com.
> > To view this discussion on the web visit 
> > 
> https://groups.google.com/d/msgid/racket-users/CAL3TdOMS5KWw0cj_jzzWpeO1icNZ1Ez
> > %2BKkjZt%2B3PLiY96BwoaA%40mail.gmail.com.
> > 
> > 
> > 
> --
> > [image/png "AutoGeneratedInlineImage1"] [~/Desktop & open] [~/Temp & open]
> > .
> > 
> > 
> > 
> --
> > [image/png "AutoGeneratedInlineImage2"] [~/Desktop & open] [~/Temp & open]
> > .
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to racket-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/racket-users/20200720090250.1da%40sirmail.smt
> p.cs.utah.edu.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/20200818174229.2b5%40sirmail.smtps.cs.utah.edu.


Re: [racket-users] emoji in source code

2020-07-20 Thread Matthew Flatt
The emoji problem on Mac OS has to do with the system-level drawing
function, CGContextShowGlyphsAtPoint, that used at the Cairo layer, at
least in the version of Cairo that we're using. That function doesn't
support emoji glyphs.

A newer version of Cairo handles emoji glyphs:

https://gitlab.freedesktop.org/cairo/cairo/commit/416a0005ab6a2b9a709d05281025e3581d612989?expanded=1

So, I've put "upgrade Cairo" on my todo list.


At Sun, 19 Jul 2020 16:36:53 -0500, Robby Findler wrote:
> I'm not sure what's going on, but this smily works: ☺
> 
> Robby
> 
> 
> On Sun, Jul 19, 2020 at 10:55 AM Shriram Krishnamurthi 
> wrote:
> 
> > I wrote the following program:
> >
> >   (define /: '😐)
> >
> > which at least on my screen looks like
> >
> >
> >
> > in Aquamacs and in my browser (modulo dark/light mode).
> >
> > However, no matter which mode I use in OS X AND which color mode I use in
> > DrRacket, the emoji just isn't visible:
> >
> >
> >
> > Not the most pressing problem in the world, but figured this is probably
> > not desirable.
> >
> > Shriram
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Racket Users" group.
> > To unsubscribe from this group and stop receiving emails from it, send an
> > email to racket-users+unsubscr...@googlegroups.com.
> > To view this discussion on the web visit
> > 
> https://groups.google.com/d/msgid/racket-users/af814198-b86b-4905-a741-4b59d605
> ca8co%40googlegroups.com
> > 
>  5ca8co%40googlegroups.com?utm_medium=email&utm_source=footer>
> > .
> >
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to racket-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/racket-users/CAL3TdOMS5KWw0cj_jzzWpeO1icNZ1Ez
> %2BKkjZt%2B3PLiY96BwoaA%40mail.gmail.com.
> 
> 
> --
> [image/png "AutoGeneratedInlineImage1"] [~/Desktop & open] [~/Temp & open]
> .
> 
> 
> --
> [image/png "AutoGeneratedInlineImage2"] [~/Desktop & open] [~/Temp & open]
> .

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/20200720090250.1da%40sirmail.smtp.cs.utah.edu.


Re: [racket-users] emoji in source code

2020-07-19 Thread Robby Findler
I'm not sure what's going on, but this smily works: ☺

Robby


On Sun, Jul 19, 2020 at 10:55 AM Shriram Krishnamurthi 
wrote:

> I wrote the following program:
>
>   (define /: '😐)
>
> which at least on my screen looks like
>
>
>
> in Aquamacs and in my browser (modulo dark/light mode).
>
> However, no matter which mode I use in OS X AND which color mode I use in
> DrRacket, the emoji just isn't visible:
>
>
>
> Not the most pressing problem in the world, but figured this is probably
> not desirable.
>
> Shriram
>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to racket-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/racket-users/af814198-b86b-4905-a741-4b59d605ca8co%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/CAL3TdOMS5KWw0cj_jzzWpeO1icNZ1Ez%2BKkjZt%2B3PLiY96BwoaA%40mail.gmail.com.


[racket-users] emoji in source code

2020-07-19 Thread Shriram Krishnamurthi
I wrote the following program:

  (define /: '😐)

which at least on my screen looks like



in Aquamacs and in my browser (modulo dark/light mode).

However, no matter which mode I use in OS X AND which color mode I use in 
DrRacket, the emoji just isn't visible:



Not the most pressing problem in the world, but figured this is probably 
not desirable.

Shriram

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/af814198-b86b-4905-a741-4b59d605ca8co%40googlegroups.com.