raysan5 / raylib

A simple and easy-to-use library to enjoy videogames programming
http://www.raylib.com
zlib License
22.65k stars 2.27k forks source link

Feature Request: New Global Font -> Roboto #2699

Closed felipetesc closed 2 years ago

felipetesc commented 2 years ago

Feature description

This is not a bug, or an issue, but only a feature request. I would like to propose the addition of the Roboto font as an extra resource available for our programs. At the moment I'm using raylib to create a small GUI project, and it would be very intersting for all of us to have a font which is simple and easy to read when our programs run on Win/Mac/Linux/Android/iOS ... This would bring a better usability. I know we can use and load external fonts, already done that, but this post was created 'cause I believe everyone can be benefited from this feature

CodingMadness commented 2 years ago

If I may lini in shortly, how are u doing IOS development with latest raylib, I would like to know that too ^^

raysan5 commented 2 years ago

I'm afraid it will add a new dependency to the project that it's not needed. raylib us not an engine and it already provides simple mechanisms to load custom fonts.

felipetesc commented 2 years ago

If I may lini in shortly, how are u doing IOS development with latest raylib, I would like to know that too ^^

html5

CodingMadness commented 2 years ago

@felipetesc looks cool, but I meant indeed more the HOW you are coding for IOS with raylib, how does ur code looks, i thought IOS is not supported by raylib yet?

felipetesc commented 2 years ago

@felipetesc looks cool, but I meant indeed more the HOW you are coding for IOS with raylib, how does ur code looks, i thought IOS is not supported by raylib yet?

Check: https://github.com/raysan5/raylib/wiki/Working-for-Web-(HTML5) Use webview: https://developer.apple.com/documentation/webkit/wkwebview Create WebView in App (Swift 5, Xcode 12, 2022) - iOS Development - https://www.youtube.com/watch?v=JafGypqFvs4 Communication : https://medium.com/@sreeharikv112/communication-from-webview-to-native-ios-android-app-6d842cefe02d Sync cookies: https://medium.com/mobile-app-development-publication/sync-cookies-across-webviews-and-native-app-for-ios-and-android-f2ed5ac79f32

So, it's possible but not easily done