Commit Graph

42 Commits (990b1e1249a6bb4130ebd787bbeb59972c8c75bc)

Author SHA1 Message Date
Slava Pestov a0eb60906d Fix even more usings 2009-05-16 10:45:17 -05:00
Joe Groff 644c42d4e3 "ui-backend" variable can't be used to choose text backend 2009-05-02 21:52:18 -05:00
Slava Pestov 97b19ff025 Fix typo in ui.text docs 2009-04-19 03:04:41 -05:00
Slava Pestov 0affe96d95 opengl.textures: pad image up to a power of 2 using glTexSubImage2D instead of doing it in Factor code 2009-04-04 20:04:35 -05:00
Slava Pestov e84cc5f82d Simplify do-matrix 2009-04-04 20:03:30 -05:00
U-SLAVA-DFB8FF805\Slava 1731b57249 Add textures without alpha channels, cropping; update usages of <texture>; don't ignore trailing in x>offset 2009-04-03 07:01:22 -05:00
U-SLAVA-DFB8FF805\Slava dfa27e0c17 Add vocab meta-data for some of the new vocabs 2009-04-02 13:50:15 -05:00
U-SLAVA-DFB8FF805\Slava 9c3054c84a More progress on Uniscribe 2009-04-02 13:05:26 -05:00
Slava Pestov 474e74a232 Re-organize things so that bootstrap.ui doesn't load ui.text 2009-03-31 23:44:38 -05:00
Slava Pestov 20db7ea3c1 Add meta-data 2009-03-07 01:48:36 -06:00
Slava Pestov 81c96ca410 Add a unit test as a sanity check for a broken Win64 Pango 2009-03-06 16:21:06 -06:00
Slava Pestov d577a846d5 Fix offset conversion in ango backend 2009-03-04 21:09:38 -06:00
U-SLAVA-DFB8FF805\Slava 2ec3f1c700 Delete ui.text.freetype, opengl.sprites, and Bitstream Vera fonts; move freetype FFI binding from basis to extra since its no longer used by the UI 2009-03-02 01:17:33 -06:00
U-SLAVA-DFB8FF805\Slava 95de45725e Fix Pango and ui.event-loop for Windows 2009-03-02 01:12:06 -06:00
Slava Pestov a7df2ffafc Fix pango font-metrics implementation 2009-03-01 22:10:20 -06:00
Slava Pestov 1cc4a013da pango: compute x-height and cap-height metrics 2009-03-01 20:10:19 -06:00
Slava Pestov 77ca304897 Fix text positioning with pango backend
Implement selection rendering
Make resolution configurable
Clean up float <-> fixed point conversion
2009-02-28 20:33:53 -06:00
Slava Pestov 385c4661d6 First attempt at ui.text.pango 2009-02-28 01:31:51 -06:00
Slava Pestov fa79803856 Fix text rendering for fonts where the image bounds exceed the metric bounds, such as Zapfino and Arabic fonts 2009-02-20 20:53:51 -06:00
Slava Pestov be40bd33ee New initialize-alien word 2009-02-20 20:51:13 -06:00
Slava Pestov 676806ce39 opengl.textures: clean up code, only create power-of-2 textures, make API nicer 2009-02-19 04:06:57 -06:00
Slava Pestov 628c219495 opengl.texture-cache is not necessary; simplify code 2009-02-15 04:33:43 -06:00
Slava Pestov 36f9793c92 Add font-metrics hook 2009-02-13 20:19:57 -06:00
Slava Pestov ea2a3d6758 Split off opengl.textures from opengl.texture-cache; use image tuples instead of texture-info 2009-02-12 03:58:05 -06:00
Slava Pestov cfa285a646 Refactor texture cache 2009-02-11 04:54:06 -06:00
Slava Pestov d1a5bf2073 Working on ui.images; change draw-gadget to translate to origin for you 2009-02-10 18:47:34 -06:00
Slava Pestov 5be7a6777b Clean up Core Text rendering code, and factor our basis/cache and basis/opengl/texture-cache 2009-02-10 02:45:43 -06:00
Slava Pestov 08c0960cbf Fix ui.text.freetype to work across image save/reload 2009-02-09 22:51:53 -06:00
Slava Pestov 6667aa1238 ui.text.freetype: update for ui.text API changes 2009-02-09 18:07:33 -06:00
Slava Pestov df62cb8edb Better error checking for labels and text rendering 2009-02-09 00:22:41 -06:00
Slava Pestov 176629055e Add support for rendering selected text to ui.text 2009-02-07 18:05:11 -06:00
Slava Pestov 148317846b Update various vocabularies for colors.constants 2009-02-05 22:17:15 -06:00
Slava Pestov f93b2f1c29 Clean up line-metrics code 2009-02-01 23:58:05 -06:00
Slava Pestov ecf3d4f447 Add ui.text:line-metrics word, and core-text implementation 2009-02-01 20:32:49 -06:00
Slava Pestov 990c99a97e Add foreground and background color slots to font tuple 2009-01-30 03:36:39 -06:00
Slava Pestov cadaf71372 Sub-pixel font smoothing works with Core Text now 2009-01-29 22:07:51 -06:00
Slava Pestov f84ed37648 Fix FreeType text backend 2009-01-29 16:44:08 -06:00
Slava Pestov b7c4f548f9 Add texture aging 2009-01-26 23:11:45 -06:00
Slava Pestov e95cd5e19e Clear font cache on startup 2009-01-26 02:36:49 -06:00
Slava Pestov bb27511753 Fixing code for first-class fonts 2009-01-26 02:21:28 -06:00
Slava Pestov 4f5a927afb Move UI text backends to ui.text.*, move UI backends to ui.backend.*, add font datatype 2009-01-26 00:36:37 -06:00
Slava Pestov 2a7d353251 Debugging Core Text, get colored text working and fix memory management issue 2009-01-21 19:34:42 -06:00