Open main menu

CDOT Wiki β

Changes

User:Sdowne/summer 2010 worklog july

1,513 bytes added, 15:42, 16 August 2010
no edit summary
Tuesday July 20th<br />
*Started research on [https://processing-js.lighthouseapp.com/projects/41284/tickets/457-textmode textMode]
Wednesday July 21st<br />
*[https://processing-js.lighthouseapp.com/projects/41284/tickets/457-textmode textMode] might be over my head. I would love to take the challenge, but I don't think there is enough time for me to learn the 3D end, and still get it done. Might be better suited for Mike to take it, and I work on something else.
Thursday July 22nd<br />
*While assessing the current processing tickets for the next release, and more so for release 1.0, I noticed a handful of tickets are missing feature blockers
Friday July 23rd<br />
*I ended up drifting on textMode, into textAscent and textDescent, which are needed to finish textMode, which is currently under control of Mike. I will work with him to see what is best for both of us
Monday July 26th<br />
*no longer doing [https://processing-js.lighthouseapp.com/projects/41284/tickets/457-textmode textMode]. Gave it back to Mike because he is better suited to do it, and I am doing the following instead (we traded tickets)* started work on [https://processing-js.lighthouseapp.com/projects/41284/tickets/454-textleading textLeading] because it is a missing feature blocked to processing.js* started work on [https://processing-js.lighthouseapp.com/projects/41284/tickets/452-textascent textAscent]* started work on [https://processing-js.lighthouseapp.com/projects/41284/tickets/453-textdescent textDescent]
Tuesday July 27th<br />
*Worked on my newly obtained tickets.* I had previous research in them from researching textMode
Wed July 28th<br />
* while working on textLeading:
* I fixed an odd pixel that was slipping in between lines split on a string with newline characters. The extra pixel only existed using TOP, BOTTOM, and CENTER on the y axis. Basically, everything cept BASELINE, which was default... The problem was due to using the text size, instead of using text ascent, which is the same size for smaller fonts, but as the font gets larger, the gap is more noticeable.
* Noticed I totally overlooked the 4th and 5th parameters of text, which are height and width. This also needs to account for text leading using newlines OR spaces that push the text onto the next line. There is also a few pixel padding in the p5 version from the top of the box, to the first bit of text, which is dependent on the size of the font. I am not yet sure where they get this number, but I am looking through p5's source. The last final problem in textLeading() has to do with the number of pixels being padded between newlines and multiple lines.
1
edit