Giter VIP home page Giter VIP logo

Comments (15)

cormullion avatar cormullion commented on May 28, 2024 3

Good idea. Now we have:

Screenshot 2020-08-11 at 08 08 34

from juliamono.

cormullion avatar cormullion commented on May 28, 2024 1

No problem - I'm just glad someone's using it! :) I'll have a look at them soon. (I don't think they look so bad on my machine, but I'll investigate... :)

Screenshot 2020-09-01 at 15 35 03

from juliamono.

simeonschaub avatar simeonschaub commented on May 28, 2024 1

Maybe someone just has to write a JuliaTerminal as well 😆

from juliamono.

cormullion avatar cormullion commented on May 28, 2024

Interesting. I was checking them against the Julia manual - are these wrong - when I type \frakA or \frakN in the REPL?

Screenshot 2020-08-02 at 23 33 05

julia> '𝔄'
'𝔄': Unicode U+1D504 (category Lu: Letter, uppercase)

julia> '𝔑'
'𝔑': Unicode U+1D511 (category Lu: Letter, uppercase)

from juliamono.

simeonschaub avatar simeonschaub commented on May 28, 2024

What do you mean by wrong? The unicode tables for these math fonts are sometimes a bit odd in that they have some holes, where characters already had a codepoint in previous versions, so the codepoints aren't always together.

from juliamono.

cormullion avatar cormullion commented on May 28, 2024

This is a bit of a puzzler. But given that this is a Julia-oriented font, I'm thinking to defer to Julia's way of obtaining these characters, rather than extracting Unicodes directly like you do:

Screenshot 2020-08-09 at 13 18 18

These look more correct?

(Not shown are \\Im and \\Re.)

from juliamono.

simeonschaub avatar simeonschaub commented on May 28, 2024

I am pretty sure those should be the same, but perhaps I got something wrong? These look great now! (BTW, how are you getting the script h? Apparently, Julia doesn't have \hscr, only \planck, which I believe is the proper substitution.)

from juliamono.

cormullion avatar cormullion commented on May 28, 2024

I think that's \scrh. There is a \planck but it looks just like an ordinary 'h' to me (although they're different glyphs). I suppose I could make \planck a bit more italic ...

from juliamono.

simeonschaub avatar simeonschaub commented on May 28, 2024

I think that's \scrh

🤦 I confused it with \ith, which Julia indeed doesn't complete. https://en.wikipedia.org/wiki/Mathematical_Alphanumeric_Symbols#Latin_letters lists it as lowercase italic h though, so it should probably fit in with the other italic characters.

from juliamono.

cormullion avatar cormullion commented on May 28, 2024

I shall give the planck constant (and planck constant over two pi, U+210F) some right-shift...

from juliamono.

simeonschaub avatar simeonschaub commented on May 28, 2024

\planck still looks a bit out of place with the other \it* characters:
Screenshot from 2020-08-10 22-31-10
Would it be possible to add some serifs as well?

from juliamono.

simeonschaub avatar simeonschaub commented on May 28, 2024

It's now almost completely perfect! Only some bscr and scr characters still differ in size a bit (I know, I'm greedy! 😇):
Screenshot from 2020-08-31 22-04-40

I wonder whether the larger ones could be made a bit smaller.

julia> print.(getindex.((REPL.REPLCompletions.latex_symbols,), "\\bscr" .* ('A':'Z'))); 𝓐𝓑𝓒𝓓𝓔𝓕𝓖𝓗𝓘𝓙𝓚𝓛𝓜𝓝𝓞𝓟𝓠𝓡𝓢𝓣𝓤𝓥𝓦𝓧𝓨𝓩 julia> print.(getindex.((REPL.REPLCompletions.latex_symbols,), "\\scr" .* ('A':'Z'))); 𝒜ℬ𝒞𝒟ℰℱ𝒢ℋℐ𝒥𝒦ℒℳ𝒩𝒪𝒫𝒬ℛ𝒮𝒯𝒰𝒱𝒲𝒳𝒴𝒵

from juliamono.

cormullion avatar cormullion commented on May 28, 2024

On my Mac at least, kitty is the odd-one out - it seems to rescale some of the characters, perhaps to keep them inside the bounding box.

scriptchars

The other applications are happy for the glyphs to slightly overlap their boundaries if required to do so.

from juliamono.

simeonschaub avatar simeonschaub commented on May 28, 2024

Perhaps this is the issue: kovidgoyal/kitty#2272 (comment)

kitty uses a character grid display for performance reasons and because it fits with what a terminal actually is supposed to be. It's never going to have good support for extremely complex scripts, because they simply cannot be rendered in a character cell manner. That said, I dont know what the issue with this particular script is, I will investigate, when I have some time.

Would it make sense to open an issue there?

from juliamono.

stale avatar stale commented on May 28, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions!

from juliamono.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.