Comments (1)
You're right. SetSrc isn't useful with a non-Uniform image.
A long time ago, there was talk of re-doing the DrawString API to look more
like the image/draw package, instead of e.g. separate Context.SetSrc methods.
See the discussion (not the code) at http://codereview.appspot.com/2208041/
Unfortunately, that talk didn't go anywhere. Thanks for the bug report, though.
The data point will be useful when I finally have some time to re-think the API.
Original comment by [email protected]
on 2 Aug 2012 at 1:31
- Changed state: Accepted
from freetype-go.
Related Issues (16)
- Easier packaging HOT 2
- request: truetype font Name() API
- Fix TTC parsing HOT 1
- Potential MSIRP implementation issue in hint.go HOT 3
- DeltaP / DeltaC implementation questions HOT 1
- unable to get glyph bounding box
- Expose ascent and descent in truetype.Font. HOT 1
- Artifacts close to start/end points HOT 4
- join/cap stroke polyline HOT 2
- goinstall: image/draw HOT 2
- Neither release go or weekly go will compile/install... HOT 2
- Text extents HOT 16
- Install error in my ubuntu 11.04 HOT 1
- OpenSans font compatability
- Patch for /freetype/freetype.go HOT 4
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 freetype-go.