Comments (5)
I think a way to do that would be to modify the defaultTexFont and it's dependencies.
The current fonts when I checked, don't have some character glyphs, but Asana math, and a few other fonts do. I developed a little tool for previewing the glyphs in a character. Try to get the Asana math font and put 8650 and 8800 at the start and end Textbox so and update, to see the characters.
from xaml-math.
@B3zaleel Thanks again for ideas and contributions. You seem very keen to take this project forward, which I'm grateful for. Unfortunately I (the original author of this project) have very little time to maintain this project these days, and rarely use .NET. @ForNeVeR is the current maintainer, but he seems rather preoccupied too. Let's see if he shows up over the next week or so, but I encourage you to maintain your own branch for now, and make comments/PRs here.
from xaml-math.
@B3zaleel thanks for your ideas. I fear it won't be as easy as just replacing the font we're using with Asana Math (although it's a good suggestion on its own: I'd like to eventually support user-supplied fonts as well).
For WPF-Math to properly process the font, we need to extract some metrics data (check DefaultTexFont.xml
), and for now we're not sure how to get some of the metrics from the font file in an automated way :(
from xaml-math.
I managed to get a separate version to work with Asana Math but the main problem is with the big operators and radicals. The current algorithm favors big operators with more depth than height. The memory usage is massive as well.
from xaml-math.
Check the font metrics in the "Data" directory of PR #156's patch. The file is "AsanaMath....wmpkg", it can open with 7zip and currently has over 2000 symbols.
from xaml-math.
Related Issues (20)
- Selection highlighting is broken in WPF HOT 1
- The logic in HorizontalBox.Add is broken HOT 2
- Box and derived type should be immutable HOT 1
- How to use SetBackground HOT 3
- Equation with cases
- Changing font has no effect HOT 4
- Crash on typing `\left\{\matrix{}\right\}`
- Allow overriding font for letters in math mode
- Block height for `\text`
- The new update: unknown error HOT 6
- Padding and Background HOT 9
- Size for a matrix doesn't get properly determined on exporting to image HOT 1
- Vectorize the output image (feature request) HOT 2
- Support for WinUI? HOT 1
- Split Fraction HOT 1
- Commutator Diagrams HOT 1
- Align matrix equation HOT 2
- Support for lines between columns and rows in matrices
- Test failures on CI: The process cannot access the file `XamlMath.Shared.net462.tmp.cs` because it is being used by another process
- Matrix should align its items with the baseline, not the total box
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 xaml-math.