Comments (3)
Hey hey, i am currently working on that feature. It seems like i wont finish it today. I'm having some smaller issues with centering the bigfont sized text. However, the api itself is already implemented, the textsize also gets bigger (1, 2, 3 by bigfont is currently supported)
It's always a challenge to implement such apis because i always have to remake the drawing system (because i am using a custom one).
On the bigfont api page i also saw blittle support. Basalt already supports blittle. If you want a fast solution you could check out the image object and use the makeBlittleText(nSize,sString,nTextColor,nBackgroundColor) by bigfont.
Also - another very nice idea! Thank you very much. Probably tomorrow i will have finished the fontsize feature for labels.
from basalt.
The last version should have bigfonts now implemented. It is not the full library. Currently only labels support bigfonts. I am not sure if i want to extend this feature to other objects, it would be quite some work to do so.
The method to call would be label:setFontSize(size), 1 is the default text size, 2, 3 and 4 are the bigfonts sizes by bigfont. I am currently not thinking about implementing bigger sizes.
from basalt.
works! Thanks!
from basalt.
Related Issues (20)
- bug: XML labels not automatically resizing
- docs: State what classes each object inherit from, with links to those classes. HOT 1
- bug: "addObject" function doesn't seem to do anything
- Bug: Button OnClick not detecting clicks HOT 4
- feature: Allow to register custom XML parsers
- bug: setActiveFrame does not change the active frame
- bug: Unable to create input fields HOT 2
- bug: Loading image
- bug: Container.removeChild does not work with strings HOT 3
- bug: atempt to perform arithmetic on a table value HOT 2
- feature: Custom colors HOT 2
- bug: [TITLE]“onEvent”disable HOT 4
- bug: Basalt[2] changing background not working properly
- feature: Override hard-cap on Graph maxEntries
- bug: [basalt.autoUpdate() Expected something before the end of the line Tip: Use () to call with no arguments] HOT 5
- bug: Broken basalt.update() HOT 1
- bug: installer errors HOT 3
- bug: basalt overrides custom palettes
- feature: support for Nitrogen Fingers Text
- bug: Textfield newline deletion attempting to index field of nil value HOT 1
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 basalt.