Comments (6)
Check out libraqm as well, which ties FriBidi, HarfBuzz, and FreeType. If FriBidi's license is an issue, I suggest integrating SheenBidi into libraqm. cc @khaledhosny
from sheenbidi.
@behdad thank you so much for Harfbuzz! I was worried but it took me one day and a half to get going with it - properly rendering Persian.
I looked into Fribidi, but I wasn't sure if the license would block console ports, so I decided to look for libraries with other licenses. The game engine I am looking into already has Switch and Xbox ports. Fribidi does look neat, so I may just use it, but then I am still not sure I can use it in iOS. :/
from sheenbidi.
Thanks @ericoporto. FriBidi is LGPL'ed, which can cause problem in walled-garden models like iOS indeed. I can't offer any legal advice. Feel free to discuss; I'm tagging @dov who is the current maintainer.
from sheenbidi.
@ericoporto The last section in README provides example code for using SheenBidi with UTF-8 encoding.
If you want to look at a game, supertuxkart is using it.
If you're considering to use it in iOS or Android, Tehreer-Cocoa and Tehreer-Android are available.
from sheenbidi.
@mta452 thank you so much! I will dive into super tux kart to see how they pulled - I think projects using it could be a line in README.
Edit: ok, found out the magic was modifying SDL_ttf directly, I will have to do this on the outside or drop SDL_ttf entirely, since that SDL_ttf doesn't track the main SDL_ttf repository.
I plan to use SheenBidi on Android and iOS too, but I like having the same codebase, so I will look into using SheenBidi directly - I am already using SDL or Allegro raster functions so I will see how to wrap it all together. You can close this.
from sheenbidi.
Great, I'll close the issue then.
from sheenbidi.
Related Issues (17)
- License doesn't specify copyright owner(s) HOT 3
- Support Meson HOT 5
- Unsafe for allocation failure HOT 4
- Small documentation mistake HOT 1
- Specifying a smaller suggested length results in increased paragraph length HOT 1
- Specifying a smaller suggested length results in decreased boundary length HOT 1
- SBAlgorithmGetParagraphBoundary() leaves separatorLength unset if no separators. HOT 2
- PopulateBidiChain in some situations leaves SBBidiType portion of memory uninitialized. HOT 3
- OpenType Script Tag HOT 1
- Upgrade data files to Unicode 11 HOT 1
- Appveyor CI for Visual Studio Compatibility HOT 1
- Getting script of each code unit in an array
- Default property values of unassigned code points
- extern "C" in public headers? HOT 1
- CJK / Hangul has return SBBidiTypeON which reversed when mixing with arabic HOT 5
- requirement: Is there a demo for utf-16? 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 sheenbidi.