Comments (3)
I am sorry that I ask this question in here but I have to. It's almost two days that I want to load my custom ".ttf" font from file without third party library like (sdl, glfw, ...) but I could not do this and I looked at demo examples in project repository but as I said non of them have used just nuklear to load font. So I wonder if I should use those libraries to work with fonts and generally with nuklear itself?
from nuklear.
@samadadi yes, Nuklear is designed to support that - will this wiki help? We migrated the repo here, but didn't have time to migrate wiki yet - feel free to do that 😉.
from nuklear.
Like being able to specify parts of text that use different fonts?
This would require meta data to be appended to strings. Such a change carries too much weight and would complicate the API.
I have the same wish as well however. I mix a lot of font sizes in my UI, especially for icons and emojis.
Constantly switching fonts is a pain, so I made a bunch of macros to specify Emoji and Icon sizes inside my code for easier reading.
Of course none of this works inside of nuklear objects, so copy pasting a bunch nk_label it is.
from nuklear.
Related Issues (20)
- After set an opened Combo Box to invisible, no response from the entire window.
- How to do multiple render with one update HOT 2
- Events not working with multiple Nuklear windows
- Add `delta_time_seconds` to each renderer
- GUI "cards" HOT 6
- Multiple window instances HOT 2
- Inputs propagating to windows in background HOT 1
- No documentation explaining how to convert an nk_rune to a char. HOT 1
- Fragment shader used in the GLFW GL4 wrapper doesn't compile
- Getting some strange text clipping behavior when dragging windows around. HOT 1
- prefilling and updating an nk_edit_string while allowing manual editing ?
- 2 errors HOT 2
- Can`t assemble from src in msvs win HOT 2
- feature request: extend NO_SCROLLBAR with horizontal/vertical options HOT 6
- how to fix size of array '_dummy_array214' is negative error? HOT 1
- No NK_EDIT_DEACTIVATED flag is returned when switching from one nk_edit_string to a previous one
- Widget in 3D space HOT 3
- nk_color_hex_rgb / nk_color_hex_rgba outputs a string length of 4 rather than 6 and 8 respectively HOT 1
- Defining NK_UINT_DRAW_INDEX causes rendering issues.
- Crash: tooltips cause an infinite loop 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 nuklear.