Commit Graph

129 Commits

Author SHA1 Message Date
Eric Mader
c148956a3e ICU-3183 Need to flip sign on y position adjustments.
X-SVN-Rev: 12893
2003-08-20 23:40:59 +00:00
Eric Mader
38d0bbb309 ICU-3183 Change default paragraph embedding to UBIDI_DEFAULT_LTR and right justify lines in RTL paragraphs.
X-SVN-Rev: 12892
2003-08-20 23:04:49 +00:00
Eric Mader
9f825c329d ICU-3040 Remove extranious font names...
X-SVN-Rev: 12531
2003-06-19 18:15:17 +00:00
Eric Mader
58c58d0976 ICU-2969 Don't #include "cmemory.h" unless LE_USE_CMEMORY, U_LAYOUT_IMPLEMENTATION or U_LAYOUTEX_IMPLEMENTATION is defined.
X-SVN-Rev: 12281
2003-06-04 18:50:27 +00:00
Eric Mader
120c74dc6b ICU-2969 Don't #include "cmemory.h" unless LE_USE_CMEMORY, U_LAYOUT_IMPLEMENTATION or U_LAYOUTEX_IMPLEMENTATION is defined.
X-SVN-Rev: 12276
2003-06-04 17:40:15 +00:00
Eric Mader
a126e9e9c5 ICU-2969 Don't #include "cmemory.h" unless LE_USE_CMEMORY, U_LAYOUT_IMPLEMENTATION or U_LAYOUTEX_IMPLEMENTATION is defined.
X-SVN-Rev: 12272
2003-06-04 17:27:50 +00:00
Vladimir Weinstein
b74dd8f3f2 ICU-2959 Added copyright notices to files that didn't have them
X-SVN-Rev: 12266
2003-06-04 01:06:48 +00:00
Markus Scherer
72901235c4 ICU-2959 update copyright notices for 2003 changes
X-SVN-Rev: 12265
2003-06-04 00:08:06 +00:00
Alan Liu
de95737116 ICU-2959 update copyright dates to include 2003
X-SVN-Rev: 12253
2003-06-03 20:58:22 +00:00
Vladimir Weinstein
c9475e02ae ICU-2959 Updated copyright notices
X-SVN-Rev: 12246
2003-06-03 06:44:40 +00:00
Eric Mader
a39ab1fa69 ICU-2717 make samples compile and run on Windows w/ ICU 2.6
X-SVN-Rev: 12176
2003-05-29 22:10:20 +00:00
Eric Mader
f544b30a81 ICU-2891 Don't use LE_MAKE_TAG macro for tag constants - it's not safe on EBCDIC platforms!
X-SVN-Rev: 12029
2003-05-20 23:39:30 +00:00
Eric Mader
89c0f223d0 ICU-2405 more code review changes.
X-SVN-Rev: 11961
2003-05-16 17:43:44 +00:00
Eric Mader
3d7ae2b1f1 ICU-2405 code review changes.
X-SVN-Rev: 11915
2003-05-13 23:02:45 +00:00
Eric Mader
8e183cbc6e ICU-2866 checked in previous version by mistake...
X-SVN-Rev: 11837
2003-05-08 17:30:46 +00:00
Eric Mader
c16a7352b7 ICU-2866 Fix memory leaks in the Layout Sample.
X-SVN-Rev: 11832
2003-05-07 21:42:38 +00:00
Eric Mader
c1923697fd ICU-2850 Add MSVC 7 (Visual Studio .NET) project files
X-SVN-Rev: 11792
2003-05-02 23:42:08 +00:00
Eric Mader
3f50ee0f41 ICU-2243 Add Layout Extensions library.
X-SVN-Rev: 11675
2003-04-24 19:29:57 +00:00
Eric Mader
bc011da770 ICU-2243 Remove obsolete files.
X-SVN-Rev: 11672
2003-04-24 18:26:56 +00:00
Eric Mader
dada958faf ICU-2243 Remove old #if 0 code.
X-SVN-Rev: 11670
2003-04-24 18:22:42 +00:00
Eric Mader
75557aae29 ICU-2243 Change to use Layout Extensions Library for ParagraphLayout.
X-SVN-Rev: 11650
2003-04-23 23:05:00 +00:00
Eric Mader
841771c66d ICU-2253 Add LocaleRuns, preliminary code to map Locale to LanguageCode.
X-SVN-Rev: 11635
2003-04-23 16:16:22 +00:00
Eric Mader
772debe207 ICU-2253 Make nullLanguageCode be 0, associated clean-up.
X-SVN-Rev: 11552
2003-04-15 20:44:11 +00:00
Eric Mader
7771903a16 ICU-2405 Change nextLine() to return the rest of the paragraph if width <= 0.
X-SVN-Rev: 11299
2003-03-13 22:55:37 +00:00
Eric Mader
f0a4c2ea30 ICU-2452 Fix page title.
X-SVN-Rev: 11246
2003-03-04 22:58:41 +00:00
Eric Mader
ea4c9cba82 ICU-2452 Change to use Code2000 font instead of Times New Roman; fix other documentation errors.
X-SVN-Rev: 11245
2003-03-04 22:40:25 +00:00
Eric Mader
e6d6dc6511 ICU-2405 Need to pass &dx[dyStart], not dx, to ExtTextOut!
X-SVN-Rev: 11241
2003-03-04 19:57:40 +00:00
Eric Mader
e4ea506018 ICU-2405 remove RenderingFontInstance.cpp.
X-SVN-Rev: 11237
2003-03-04 19:36:49 +00:00
Eric Mader
bb2050611b ICU-2405 changes to support composite fonts.
X-SVN-Rev: 11218
2003-03-03 23:51:09 +00:00
Eric Mader
1cffb08751 ICU-2405 changes to support composite fonts.
X-SVN-Rev: 11216
2003-03-03 23:07:01 +00:00
Eric Mader
8e1523d145 ICU-2405 cast LE_GET_GLYPH to TT_UShort not TT_Glyph!
X-SVN-Rev: 10956
2003-02-05 00:31:56 +00:00
Eric Mader
6057662977 ICU-2405 Changes for 32-bit glyph IDs.
X-SVN-Rev: 10953
2003-02-05 00:05:40 +00:00
Eric Mader
4aef24b88d ICU-2561 missed one possible compiler warning.
X-SVN-Rev: 10782
2002-12-24 17:13:18 +00:00
Eric Mader
9973c972c5 ICU-2561 remove compiler warnings having to to with the fact that LEUnicode32 may be signed on some platforms.
X-SVN-Rev: 10781
2002-12-24 01:30:52 +00:00
Eric Mader
1ae3357668 ICU-2561 clean up error message for unknown encoding.
X-SVN-Rev: 10780
2002-12-24 01:26:20 +00:00
Eric Mader
ec7bf5d069 ICU-2561 add default font.
X-SVN-Rev: 10779
2002-12-24 01:25:37 +00:00
Eric Mader
1ed03cfbf3 ICU-2561 clean up imports, remove unneeded include directory.
X-SVN-Rev: 10778
2002-12-24 01:24:56 +00:00
Eric Mader
59599d8cbc ICU-2561 Change download instructions for IBM JDK 1.3; expand build requirements for Linux; update script names; fix typos.
X-SVN-Rev: 10749
2002-12-18 23:50:39 +00:00
Vladimir Weinstein
ff66529fb1 ICU-2561 update samples for 2.4
X-SVN-Rev: 10738
2002-12-18 22:30:17 +00:00
Eric Mader
a719cd702e ICU-2243 Add comment about cleaning up constructors.
X-SVN-Rev: 10668
2002-12-13 22:41:39 +00:00
Eric Mader
2945317cb2 ICU-2243 Initial version of the high-level LayoutEngine API, added to the layout sample.
X-SVN-Rev: 10667
2002-12-13 22:39:33 +00:00
Eric Mader
fd3d60e48c ICU-2243 remove traces of uscript; fix include files for release version.
X-SVN-Rev: 10584
2002-12-10 19:58:51 +00:00
Eric Mader
abde416f01 ICU-2243 make RenderingSurface::drawGlyphs *not* const.
X-SVN-Rev: 10549
2002-12-06 22:37:22 +00:00
Eric Mader
3830a8233d ICU-2243 Clean up akward cast of fGlyphs in LineRun constructor.
X-SVN-Rev: 10547
2002-12-06 21:45:44 +00:00
Eric Mader
bfe13d5716 ICU-2243 Dont need scriptrun.o anymore. (now use usc_imp)
X-SVN-Rev: 10546
2002-12-06 21:32:38 +00:00
Eric Mader
7ac8439313 ICU-2243 Don't need scriptrun.cpp, .h anymore.
X-SVN-Rev: 10514
2002-12-05 23:38:57 +00:00
Eric Mader
1bcfed9ba6 ICU-2243 Initial version of the high-level LayoutEngine API, added to the layout sample.
X-SVN-Rev: 10512
2002-12-05 22:50:29 +00:00
Eric Mader
852bdd53b4 ICU-1886 Flag setting etc. is now in icudefs.mk
X-SVN-Rev: 9311
2002-07-24 17:57:32 +00:00
Eric Mader
e2b6e08b94 ICU-393 ignore, *.d, *.pdb, Debug, Release, .#*
X-SVN-Rev: 9012
2002-07-02 23:18:21 +00:00
Steven R. Loomis
c68dba1327 ICU-1914 add another search for freetype, add make check for testing
X-SVN-Rev: 8693
2002-05-24 01:12:52 +00:00
Steven R. Loomis
d78f3bc3cf ICU-1914 fix break on layout sample
X-SVN-Rev: 8692
2002-05-24 01:06:33 +00:00
Eric Mader
ee24c09da0 ICU-1428 need to scale ascent, descent and leading by fDeviceScaleFactorY
X-SVN-Rev: 8378
2002-04-04 19:08:33 +00:00
George Rhoten
93579b4afc ICU-1828 Remove tabs
X-SVN-Rev: 8336
2002-04-02 03:33:42 +00:00
Eric Mader
0a14319946 ICU-1428 use OFN_PATHMUSTEXIST instead of OFN_CREATEPROMPT in call to GetOpenFileName
X-SVN-Rev: 8317
2002-04-01 18:23:46 +00:00
Eric Mader
d5de0b5b9f ICU-1428 Add menu, file open to Windows layout sample.
X-SVN-Rev: 8313
2002-03-30 02:41:22 +00:00
Eric Mader
2a837c7b87 ICU-1428 Add a note about the location of the freetype headers and library for the Linux sample.
X-SVN-Rev: 8165
2002-03-20 23:28:04 +00:00
Eric Mader
c28ff8aa62 ICU-1792 Change letest and LayoutEngine samples to use raghu.ttf,
which is freely downloadable.

X-SVN-Rev: 8162
2002-03-20 22:36:29 +00:00
Eric Mader
f05e92fb4c ICU-1428 need scale factor from device points to logical points; use
in transformFunits.

X-SVN-Rev: 8123
2002-03-19 18:45:51 +00:00
George Rhoten
bc64b17bee ICU-1199 Stop using the deprecated Unicode C++ class
X-SVN-Rev: 8105
2002-03-19 03:01:28 +00:00
Eric Mader
22cc595c26 ICU-1428 Changes for multiple windows, open dialog.
X-SVN-Rev: 8022
2002-03-14 22:27:32 +00:00
Eric Mader
c8e85a2174 ICU-1428 add SetBkMode(hdc, TRANSPARENT) before drawing in
paint event.

X-SVN-Rev: 8020
2002-03-14 22:21:02 +00:00
Eric Mader
0048a8b7ac ICU-1428 set last byte in buffer to 0, not last + 1!
X-SVN-Rev: 8019
2002-03-14 22:19:47 +00:00
Eric Mader
9cf2dcae41 ICU-1428 drawRun: update x after drawing each run at the same y offset.
X-SVN-Rev: 8018
2002-03-14 22:13:52 +00:00
Markus Scherer
8c78422db2 ICU-1561 replace all UTextOffset with int32_t
X-SVN-Rev: 7942
2002-03-12 01:32:42 +00:00
Yves Arrouye
ff552c0fdc ICU-1600 cleaning up of Makefile rules to show more information and less
human-oriented comments. Associated cleaning up of tools to have most
verbose
messages only displayed when verbose options are used.

X-SVN-Rev: 7382
2002-01-04 23:48:46 +00:00
Andy Heninger
21944bfbe3 ICU-1583 Fix broken samples
X-SVN-Rev: 7322
2001-12-05 17:54:57 +00:00
Eric Mader
9b103e24a0 ICU-1428 Paragraph::draw - need to call ubidi_setLine with lastChar + 1.
X-SVN-Rev: 7317
2001-12-05 00:36:34 +00:00
Eric Mader
f9b031d691 ICU-1428 UnicodeReader::readFile must allcoate charCount + 1 chars for the charBuffer to make room for the null that it writes at the end of the buffer!
X-SVN-Rev: 7218
2001-11-30 19:23:58 +00:00
Eric Mader
67b7062a22 ICU-1428 changes to get scrptrun from extra/scrptrun
X-SVN-Rev: 7091
2001-11-27 01:03:15 +00:00
Eric Mader
9534b7c75b ICU-1428 change to get scrptrun from extra/scrptrun instead of using a local ocopy
X-SVN-Rev: 7090
2001-11-27 00:52:51 +00:00
Eric Mader
8421d35962 ICU-1428 small clean-up of BiDi support.
X-SVN-Rev: 7085
2001-11-26 18:58:04 +00:00
Eric Mader
cce34802bf ICU-1428 use ubidi to find run directions; take al the line seperators
out of Sample.txt.

X-SVN-Rev: 7075
2001-11-22 01:43:53 +00:00
Eric Mader
b51d954ade ICU-1428 ScriptRun - support matching for more paired characters.
X-SVN-Rev: 7052
2001-11-21 19:01:01 +00:00
Vladimir Weinstein
a4fecd849a ICU-393 .cvsignore
X-SVN-Rev: 6801
2001-11-12 22:06:12 +00:00
Eric Mader
c2da6526a7 ICU-1428 *much better* paren support in ScriptRun...
X-SVN-Rev: 6732
2001-11-10 03:22:26 +00:00
Eric Mader
e6919d7596 ICU-1428 quick hack implememtation of paren matching...
X-SVN-Rev: 6696
2001-11-08 21:52:08 +00:00
Eric Mader
e4638399eb ICU-1428 change the name of the text file to 'Sample.txt"
X-SVN-Rev: 6688
2001-11-08 00:51:23 +00:00
Eric Mader
5566df1979 ICU-1428 change the name of the text file to 'Sample.txt"
X-SVN-Rev: 6687
2001-11-08 00:40:20 +00:00
Eric Mader
3d90f8a272 ICU-1428 initial checkin of LayoutEngine sample
X-SVN-Rev: 6681
2001-11-07 23:48:17 +00:00