Is there any way to use the default system font with SDL_TFF, without writing platform-specific code? Currently I just use one of the GNU FreeFont's, but I would like to be able to use the default system font.
1
There are 1 best solutions below
Related Questions in C++
- C++ using std::vector across boundaries
- Linked list without struct
- Connecting Signal QML to C++ (Qt5)
- how to get the reference of struct soap inherited in C++ Proxy/Service class
- Why we can't assign value to pointer
- Conversion of objects in c++
- shared_ptr: "is not a type" error
- C++ template using pointer and non pointer arguments in a QVector
- C++ SFML 2.2 vectors
- Lifetime of temporary objects
- I want to be able to use 4 different variables in a select statement in c ++
- segmentation fault: 11, extracting data in vector
- How to catch delay-import dll errors (missing dll or symbol) in MinGW(-w64)?
- How can I print all the values in this linked list inside a hash table?
- Configured TTL for A record(s) backing CNAME records
Related Questions in CROSS-PLATFORM
- How to tell the difference between linux and mac
- Possible to ignore certain submodules on Git checkout?
- Swipe between webviews in Xamarin
- How to invoke an Integration Service in Kony Studio that is created in the MobileFabric Console?
- Kony: Ant build error=exec-shell returned: 1
- Best practice for cross-platform mono project layout when using native dll's
- Equivalents to gcc/clang's march=native in other compilers?
- Platform specific cut paste mnemonics swing.
- Are there any naming conventions for command line arguments?
- Why is NetBeans running my program on OS X, but not building it into a JAR?
- How to Upgrade Cordova 3.5.0-0.2.4 to any higher version?
- Meteor.js - How to implement different templates on a cross-platform app
- Rcpp: Platform differences in output
- Cross-Platform Vector Format
- How to manage separate GUI processes in a Qt application?
Related Questions in SYSTEM-FONT
- Is it legal to embed system fonts on websites 2022?
- How do I get Lucida Grande italic into my application?
- How do you get the default system font in the .NET compact framework?
- How to set type face to textView in galaxy S3
- Why would bolding the voltage symbol ⚡︎ display a decorative arrow ➫ instead (on the web, with system fonts)?
- React Native (Expo) says font has not been loaded with Font.loadAsync (but I think it has)
- Windows font that clearly disambiguates the number ZERO from letter O
- SDL_TTF system font
- On iOS 13, picking between the "display" system font and the "text" system font
- TinyMCE shows builder font change tags
- How to Change Mobile fonts mean install custom fonts, to system
- How to install a font system-wide with windows UWP apps?
- adjusting font-size according to the displayed system-font in a stack via css
- How to install a system font programmatically on a Samsung Android device?
- Different System Medium font on iOS 7
Related Questions in SDL-TTF
- Detect text selection with SDL_ttf 2
- sdl ttf_rendertext_blended fails randomly
- I am using SDL and this function cause my program to use all of my memory
- I got this function that make my program crash
- Segmentation fault before function entry?
- SDL2 program SIGSEGV on start
- TTF_SizeText() not returning correct values for 'i' 'j' and '1' (so far discovered) in SDL2, C++
- SDL_ttf display glitches
- SDL2 memory usage doesn't fully decrease after freeing surfaces and destroying textures with TTF
- How to highlight text with mouse in SDL2 (for example, like in msword, you can click and highlight text.)
- Memory constantly increasing even after freeing surfaces and textures in SDL2
- Mouse handling SDL2 very slow and sluggish in linux when VSYNC is turned ON
- SDL2 TTF "Freeing memory" but not actually "Freeing memory"
- Rubygame::TTF - The difference between a string's width and the width of all it's characters
- SDL_ttf and OpenGL are outputting seemingly random garbage and crashes
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Well, what is "default system font"? I think all modern OSes allow users to customise fonts, so you need to query it somehow, if you want to use exactly that. If you don't want to write platform-specific code and want to avoid non-portable assumptions, then providing your own fonts is a correct thing to do.