Cinder-SdfText
Cinder-SdfText copied to clipboard
libcinder.org
Hello, I'm trying to fit SdfText into an existing text layout framework and I'm running into trouble getting the appropriate sizes of text. Namely, I need the ascent and descent...
Hi, I want to be able to scale the a Run after its been created. I dont want to destroy it and create it in the new scale. This seems...
This is not an issue, but a list of ways to improve efficiency: - Using a texture size of 512 or smaller may require more than one texture for all...
Fixes #22 and makes the changes to the Xcode projects for the library file name. It might make the most sense to wait until 0.9.1 is released to merge this....
No harm in being explicit about where it goes. Addresses some confusion mentioned in #18.
Running into this error on OS X: ``` CompileC /Users/andrew/Library/Developer/Xcode/DerivedData/Cinder-SdfText-ckvvprrqdidxdacgbmjvneplksvf/Build/Intermediates/Cinder-SdfText.build/Debug/cinder-sdftext-macosx.build/Objects-normal/x86_64/ftlcdfil.o /Users/andrew/projects/Cinder/src/freetype/base/ftlcdfil.c normal x86_64 c com.apple.compilers.llvm.clang.1_0.compiler cd /Users/andrew/projects/Cinder/blocks/Cinder-SdfText/xcode export LANG=en_US.US-ASCII /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x c -arch x86_64 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -Wno-trigraphs -fpascal-strings -O0...
If you use `drawString`, instead of `drawStringWrapped`, text is always rendered left aligned.
Would be nice if creation of the SDF for a single glyph is done on a separate thread, then copied to the texture using a quick blit. If you'd use...
I tried to render Japanese text using Arial, but the application crashed [here](https://github.com/chaoticbob/Cinder-SDF/blob/master/src/cinder/gl/SdfText.cpp#L923) and [here](https://github.com/chaoticbob/Cinder-SDF/blob/master/src/cinder/gl/SdfText.cpp#L976). It could not find the glyph index, so `iter` becomes `end`. To me, it looks...