John Benediktsson
e01ff14fa0
ui.text.core-text: fix jumping "def".
2012-12-11 08:06:02 -08:00
John Benediktsson
ab3d6b1d13
opengl: properly scale viewports.
2012-11-01 17:12:13 -07:00
John Benediktsson
fcce5a2af9
core-text: retina displays should use "2x" fonts.
2012-11-01 16:28:33 -07:00
John Benediktsson
a32ac00389
ui.text: more globals.
2012-09-21 18:40:38 -07:00
Doug Coleman
84c1137eb4
windows.uniscribe: Render image lazily. Speeds up panes benchmark.
2012-09-21 09:54:40 -07:00
John Benediktsson
07194b4741
ui.text.pango: lazy render images like core-text backend.
2012-09-21 08:16:48 -07:00
John Benediktsson
25aadd2dc2
ui.text.pango: don't create unnecessary font objects.
2012-09-17 14:17:57 -07:00
John Benediktsson
f05954c5a9
core-text: use cached-lines get-global.
2012-08-02 21:35:28 -07:00
John Benediktsson
4f260ab9bd
"H{ } substitute" is faster than "{ } substitute".
2012-07-13 19:06:38 -07:00
John Benediktsson
c1e9f4c362
ui.text: cleanup string-width/height and make text-dim a bit faster.
2012-07-13 15:35:42 -07:00
Joe Groff
8cf18d1a82
remove BSD,solaris,etc. misc platform support code
2011-11-02 17:13:51 -07:00
Doug Coleman
94db86a6db
Make "foo.private" require load foo instead.
...
Move require from vocabs.loader to vocabs. Update everything.
Fixes #201 .
2011-11-02 11:50:03 -07:00
John Benediktsson
dba4b65aac
core-text: lazy text render (inspired by klazuka).
2011-08-27 17:33:21 -07:00
Anton Gorenko
913362a3a2
gobject-introspection: rewrite gir files loading and code generation totally
...
generate girs from fresh sources
ui.backend.gtk, ui.text.pango: update a little bit
(this commit is unstable, because new GObject-introspection release (> 0.9) is much different from 0.6 and it needs more detailed annotations
(e.g. to parse out/inout parameters), which are mostly missing now)
2010-09-29 15:08:31 +06:00
Anton Gorenko
17192dee7c
change directories structure (add */ffi/ffi.factor files)
2010-05-27 00:17:14 +06:00
Anton Gorenko
19634c8757
fix a bug with incorrect cursor position
2010-05-23 20:28:44 +06:00
Anton Gorenko
be272a0bde
change Pango-based ui.text backend (move all util words from pango and pango.cairo vocabularies to ui.text.pango)
2010-05-23 16:10:41 +06:00
Anton Gorenko
56280003c5
pango is gir-based now (very draft version)
2010-05-09 23:25:47 +06:00
Slava Pestov
f78e5c7430
ui.text.pango: add a platforms.txt
2010-02-21 17:48:03 +13:00
Slava Pestov
95bfc8a240
vocabs.metadata: replace unportable tag with a platforms.txt file for more fine-grained control. Rename unportable tag to untested for remaining cases
2010-02-20 13:30:49 +13:00
Slava Pestov
07ce30e1fe
ui.text: fix USING: line
2010-02-08 19:18:51 +13:00
Slava Pestov
0b4edcf8ad
ui.text: add a string>image hook and clean up a bit of code duplication
2010-02-08 18:40:26 +13:00
Slava Pestov
83674821a1
ui.text: fix outdated material
2010-02-07 18:20:54 +13:00
Slava Pestov
0612bc6177
Factor source files should not be executable
2009-11-21 17:50:43 -06:00
Keith Lazuka
405e5d015b
docs: change $subsection to $subsections
2009-10-02 12:15:48 -04:00
Doug Coleman
3f3d57032b
Delete empty unit tests files, remove 1- and 1+, reorder IN: lines in a lot of places, minor refactoring
2009-08-13 19:21:44 -05:00
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