Comments (2)
Hi,
QuickFont only supports modern OpenGL rendering, and hasn't been tested with immediate mode applications.
Your problem occurs because QuickFont sets up it's own vertex and fragment shaders when you call the Draw() function, replacing the default immediate mode vertex and fragment shaders.
I think if you set up your own basic vertex and fragment shaders then the immediate mode draw calls might still work, but I have not tested it.
If at all possible I would suggest converting the drawing code to modern OpenGL as you port it to C#.
These two tutorials are a good introduction to modern OpenGL:
https://learnopengl.com/
https://open.gl/
from quickfont.
Thanks for answering. Seems I cannot escape learning modern open GL a little sooner than I hoped. The learnopengl.com site looks like an excellent resource.
from quickfont.
Related Issues (20)
- Font rendering technique description in README HOT 1
- Stop using System.Drawing HOT 1
- Switch to using a FAKE build script
- Upload a Strong Name signed version of QuickFont to nuget HOT 1
- How are fonts scaled HOT 2
- Resolution independent text rendering HOT 1
- Inlcuded Examples do not work, some form of Documentation required HOT 9
- Using Quickfont in drawing environment HOT 2
- When attempting to draw text, another object fails to render.
- Chinese font seams doesn't work HOT 9
- Crash HOT 3
- Update to OpenTK 3.0.1 HOT 2
- Maintaining same size for the text HOT 2
- NaturallyMonospaced fonts not rendering HOT 4
- Is it possible to support Chinese rendering? HOT 3
- Variable size font HOT 3
- How show graph and text on GLControl ? HOT 1
- Library can only be disposed once per application instance HOT 3
- QFontDrawing.Print Reliant on outdated OpenTK Bindings. HOT 2
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 quickfont.