Comments (6)
Oh, sure. It's not yet public code but here's that snippet:
@threads for j ∈ eachindex(𝒯.R)
Rⱼ = 𝒯.R[j]
αⱼ = real(𝒯.α[j])
ð̄²α = real(𝒯.ð̄²α[j])
κ⁻¹ = γ * (1 - v⃗ ⋅ Rⱼ(𝐤))
spline = @view 𝒯.splines[:, :, j]
guess = firstindex(𝒯.u)
for (i, u′) ∈ enumerate(𝒯.u′)
u = κ⁻¹ * u′ + αⱼ
d, guess = interpolate(𝒯.u, 𝒯.h, spline, u, guess)
𝒯.d′[j,i] = κ⁻¹ * (d - ð̄²α)
end
end
(Also, here as a gist for no reason.)
from juliamono.
Perhaps you could upload a text file here containing the code you've typed, and I can see what it looks like... ?
from juliamono.
On my Mac (Ventura 13.6)
VSCode:
![Screenshot 2024-05-06 at 18 53 11](https://private-user-images.githubusercontent.com/52289/328270534-10d999f0-86ea-4b75-a571-b648db61760a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTgwMTEzNzYsIm5iZiI6MTcxODAxMTA3NiwicGF0aCI6Ii81MjI4OS8zMjgyNzA1MzQtMTBkOTk5ZjAtODZlYS00Yjc1LWE1NzEtYjY0OGRiNjE3NjBhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjEwVDA5MTc1NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTM5OTUxYjY5NzE3MzdjMzA4YjNjMmZmNWQyMzA1Y2NkMWNlOGYxNDhhNjI4YTk4N2UxOTAzYjRlYTY1ZWE5ZDEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.w0lowM0D--0xC9R_p3q4oPnj-hjXtXjyLQMpOoVaOuY)
Terminal (Vim):
![Screenshot 2024-05-06 at 18 52 37](https://private-user-images.githubusercontent.com/52289/328270539-b048fcc6-d6ed-40f0-b1b8-5b53dd28dead.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTgwMTEzNzYsIm5iZiI6MTcxODAxMTA3NiwicGF0aCI6Ii81MjI4OS8zMjgyNzA1MzktYjA0OGZjYzYtZDZlZC00MGYwLWIxYjgtNWI1M2RkMjhkZWFkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjEwVDA5MTc1NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTIwYTU3NTU3MDNhOTgwZTcxOWRkODU2ZGFiMTZiZGQ0OTZlYTg5N2FkNzY4OWU2NGMzMzIyMGYyYTMyMTk0NTEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Dnct6LDo10Ls9M-wbLbALf29Lhr4KIzRF3xPa0n1eyc)
Cot editor:
![Screenshot 2024-05-06 at 18 47 00](https://private-user-images.githubusercontent.com/52289/328268964-450ac5df-b1d4-4c7b-95dc-798d36b60a7a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTgwMTEzNzYsIm5iZiI6MTcxODAxMTA3NiwicGF0aCI6Ii81MjI4OS8zMjgyNjg5NjQtNDUwYWM1ZGYtYjFkNC00YzdiLTk1ZGMtNzk4ZDM2YjYwYTdhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjEwVDA5MTc1NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTRlZTU0ZTE1OWFiNjJkN2Y2MmI2ZjZiZjY4NzI2MjBmMzczOWY3MDU3YTk0YTA1MGY4ODNlY2JiMDljMWQ3NDkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.b9CO6MSzKlGjbrxa12I5H76Q4uH49v6hXhs_yG9kxIk)
Wezterm (Helix):
![Screenshot 2024-05-06 at 19 10 40](https://private-user-images.githubusercontent.com/52289/328274812-3a204499-b184-49d7-b764-2417deb085bd.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTgwMTEzNzYsIm5iZiI6MTcxODAxMTA3NiwicGF0aCI6Ii81MjI4OS8zMjgyNzQ4MTItM2EyMDQ0OTktYjE4NC00OWQ3LWI3NjQtMjQxN2RlYjA4NWJkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjEwVDA5MTc1NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTcxYTEwNGIyMjZmYzhjZjZhNDk5MDE4ZjNhNTcxZDcyNTI5ZDY0MGRhZTExNTg0MWRmODNhZTkzZmQ5MDFhZGMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.sQIUbD6Ko9cMOVr_Co2ljJ_ktFoW3vE_1xf9vrEphcQ)
I'd say VSCode is struggling a little, but mostly they look OK. As you probably know, not all terminals can render every possible glyph composition correctly...
Just to be on the safe side, make sure you delete all JuliaMono.*Latin.ttf files - these occasionally slip into play by accident and can confuse the unwary with the sudden lack of glyphs.
Other than that, I can only think that there's some unwelcome font cache-ing still going on. The OS really doesn't want to let go of any fonts that might conceivably be in use.
from juliamono.
Just to be on the safe side, make sure you delete all JuliaMono.*Latin.ttf files - these occasionally slip into play by accident and can confuse the unwary with the sudden lack of glyphs.
What? There are JuliaMono-RegularLatin.ttf
and JuliaMono-BoldLatin.ttf
that come with the current release. Are you saying there may be files with a dot in the name from some old installation? Or are you saying that I shouldn't install these Latin files that come with the current release?
Other than that, I can only think that there's some unwelcome font cache-ing still going on. The OS really doesn't want to let go of any fonts that might conceivably be in use.
I closed everything, removed JuliaMono via Font Book, searched almost my entire computer to make sure there were no JuliaMono* files remaining, then ran sudo atsutil databases -remove && sudo atsutil server -shutdown && sudo atsutil server -ping
, restarted my computer, and installed the JuliaMono 0.055 ttf files again. Same problems.
Can you suggest any other rocks for me to look under?
I'm really confused because this all started when I just installed 0.055 without removing 0.054 (telling Font Book to replace , so I would have thought that in the worst-case scenario it might pick up the older version, but not just totally fail to find glyphs at all. Also, I've noticed that indeed the ->
and =>
ligatures are now gone.
from juliamono.
I wish I could reproduce your problem.
What? There are JuliaMono-RegularLatin.ttf and JuliaMono-BoldLatin.ttf
JuliaMono is quite a big font, and so (as the documentation explains) there are two smaller versions of the font included, which are basically restricted to the ISOLatin character set. These have "Latin" in the name. They don't usually cause any problems (I've never seen a problem personally), but it is of course possible that one of these Latin fonts gets prioritized and selected by the font management utility you're using (there are many and they all have quirks). If this happens, then most of the characters you see (apart from the lowest 400 or so in the Unicode chart) will be fallback glyphs from other fonts.
(As with most fonts, if you don't need a particular file, just delete it. The last time I downloaded CascadiaCode, I got 88 TTF and 77 OTF font files...)
One way to tell which version of JuliaMono you're currently seeing, which avoids complications such as stylistic sets and contextual alternates, is to look at the representation of the Unicode character U+E843:
echo -e "\ue843"
which should look like this:
![Screenshot 2024-05-08 at 11 11 37](https://private-user-images.githubusercontent.com/52289/328849093-4a41d266-d2cc-40f9-bfb6-1c15ad44ae81.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTgwMTEzNzYsIm5iZiI6MTcxODAxMTA3NiwicGF0aCI6Ii81MjI4OS8zMjg4NDkwOTMtNGE0MWQyNjYtZDJjYy00MGY5LWJmYjYtMWMxNWFkNDRhZTgxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjEwVDA5MTc1NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWMxZTZiZWU3MGJjYTMyM2Y2NGVjZTZjNWZhYjRiNTkxNGViOWNjYzNkNTk0ZjI1MTUzYzE0Y2NhMzNhOGMxYzUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Sk7JIla-np_SUeuYy8uYhqG5hT1NvIqOo867QNTudgc)
And, because this is a Private Use Area glyph, there will be a question mark if any other font (including JuliaMono-RegularLatin) is active.
from juliamono.
Ah, I didn't understand that I wasn't supposed to install the Latin variants. Deleting those seems to have solved my problems. I've reinstalled 0.055 now, and everything (except for \eth\bar
) looks great. Thanks for the clarification!
Also, that \ue843
trick is pretty neat. Funny enough, when I copy-pasted that into VS Code while 0.054 was still installed, it showed up properly, but then Github Copilot suggested a glyph that looked almost the same, but with 0.053. (Maybe an italic variant that hadn't been updated, because Copilot's suggestions are in italics?)
from juliamono.
Related Issues (20)
- Does not respect unicode RIGHT-TO-LEFT OVERRIDE, for some glyphs HOT 8
- Glyph shape of 2 Cyrillic Ext-C characters (U+1C81, U+1C85) HOT 2
- Unpaired parentheses in CHANGELOG.md HOT 5
- Remove v0.5.1 tag HOT 3
- Add support for `\dot (U+0307)` for numbers HOT 4
- "SS20" (splashtidy) does not work in general cases HOT 5
- Daggers too similar? HOT 3
- Combining characters with lower case j doesn't always render the combining character for some glyphs. HOT 8
- Request for 450 font weight HOT 2
- Emoji Presentation for Julia Logo HOT 9
- wedge/bigwedge and vee/bigvee too similar? HOT 2
- Mystery spacing issues HOT 7
- Interrobang glyph is incorrect HOT 7
- Possible alternate variant of small letter "l" with stylistic set? HOT 18
- Problem with CJK glyphs HOT 5
- Take down the "JuliaMono julia manual" since it pollutes google search? HOT 3
- Ligatures are gone in WezTerm after upgrading to JuliaMono 0.055 HOT 5
- Homebrew install instructions are outdated HOT 5
- Add Anchors to U+25CC DOTTED CIRCLE for Proper Rendering of Combining Diacritical Marks. HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from juliamono.