Skip to content

Conversation

@wmoxam
Copy link
Contributor

@wmoxam wmoxam commented Nov 18, 2019

Note: OpenBSD really has two standard font locations:

  • base system fonts: /usr/X11R6/lib/X11/fonts
  • user installed fonts: /usr/local/share/fonts

I opted for the system fonts path since it's guaranteed to exist.

Currently OpenBSD doesn't have a Simple2D port, but I've got one working locally that will be submitted soon.

@Nakilon
Copy link

Nakilon commented Jan 18, 2020

I'll just remind that OS can have multiple paths for fonts and stuff. macOS has /Library and ~/Library: Nakilon@a80fa4b#diff-20954dabc09e02eae916560e3af54a41R10 so maybe someone will patch this thing too.

# If MRI and/or non-Bash shell (like cmd.exe)
RUBY_PLATFORM
else
if `uname`.include? 'Darwin' # macOS
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe mruby by default does not come with Regexp, hence the simple include.

Base automatically changed from master to main February 9, 2021 05:54
@blacktm blacktm force-pushed the adds-openbsd-support branch from a626f55 to 2363db0 Compare August 7, 2021 05:12
@blacktm blacktm force-pushed the adds-openbsd-support branch from eaf76dd to 098a074 Compare August 7, 2021 05:50
@blacktm blacktm merged commit 5fd6cd0 into ruby2d:main Aug 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants