星期二 2005年03月01日
Mozilla Type1 printing. Currently, mozilla support Fontconfig/Freetype printing, that's to say, mozilla use fontconfig to get font information, use freetype to extract the glyph, then format the glyphs as subseted CID-keyed fonts(defined as type 9 format in Acrobat documentations), finally embed the CID-keyed fonts into PS file.
with this feature, mozilla have the following printing features:
1. Support all languages, include CJK/Thai/Hindi/Arabic..
2. support WYSIWYG, mozilla use the fonts of display for printing.
more details, see bug: http://bugzilla.mozilla.org/show_bug.cgi?id=190031
but another problem happened, the mozilla generated ps files is with postscript level 3 since it embeded CID-keyed fonts, some printers only support postscript level 1, and could not print level 3 ps file directly.
To solve this problem, there are the following solutions:
1. Add filter in printer systems. do ps2ps to convert the postscript level 3 ps file to postscript level 1.
CUPS already add specific "pswrite" filter for Mozilla to do this job.
This solution need add filters in all kinds of printing systems, such as CUPS, LPRng, OpenPrinting.
2. Generate postscript level 1 ps file directly.
Gnome generate ps file with Type42, StarOffice/OpenOffice generate ps file with Type3, after do comparison, Mozilla decide to generate ps file with Type1.
more details, see bug: https://bugzilla.mozilla.org/show_bug.cgi?id=234182
( 2005年03月01日, 12:02:58 下午 CST )
Permalink
First evaluation of libchewing 0.2.6 Just have a quick evaluations on the latest libchewing 0.2.6 and scim-chewing 0.2.0, found the following problems:
1. HanYu PinYin feature do not work on my JDS tch_le_sun LE. if I set kb_type to KB_HANYU_PINYING (who's value is 1000), libchewing always crash in function Key2Pho() of common/key2pho.c.
seems in common/key2pho.c, key_str[ MAX_KBTYPE ], MAX_KBTYPE's value is 8, is much less than 1000, so libchewing crash when it to get key_str [ KB_HANYU_PINYING ].
If I change KB_HANYU_PINYING to 8 in file "include/zuin.h", HanYu PinYin feature still do not work. since I have no time to continue on this problem, will wait chewing core team for next release.
so I disable KB_HANYU_PINYING in JDS tch_le_sun language engine.
2. If I start htt_server with normal user id, and type some letters in chewing input mode, htt_server will exit. th e problems is:
in InitChewing() of chewingio.c, there are the following codes:
#ifdef DEBUG
char *dbg_path;
int failsafe = 1;
dbg_path = getenv( "CHEWING_DEBUG" );
if ( dbg_path ) {
fp_g = fopen( dbg_path, "w+" );
if ( fp_g )
failsafe = 0;
}
if ( failsafe == 1 ) {
dbg_path = FAILSAFE_OUTPUT;
fp_g = fopen( dbg_path, "w+" );
if ( ! fp_g ) {
fprintf( stderr, "Error: failed to record debug message.\n" );
exit( -1 );
}
}
#endif
it use exit(), I think this function should not be used in such integrated architecture since this fuction will cause IM server exit in some situations.
3. for "Add Phrase forward" feature, I think it should be a user's preference. so it should be in user's scope, just like kb_type, not in input method's scope.
currently, if a user change this option, libchewing need do "SetConfig( &da, &config )" in input method level, which will cause that this option for all users' are changed, not only the current user.
Need more evaluations from chewing team, maybe my understanding is wrong.
4. scim-chewing.
I install scim 1.1.3 and scim-chewing 0.2.0 on my JDS, I found all the scim module do not work. do not know why.
also found "IBM keyboard layout" is missing in the properties setting window of chewing.
( 2005年03月01日, 11:28:46 上午 CST )
Permalink
libchewing 0.2.6 is out I am pleased to announce that (New) Chewing core team[1] has
released new version of libchewing and scim-chewing, and you
might refer to the news page:
http://chewing.csie.net/news.html
What's New in libchewing 0.2.6
----------------------------------------------------------
* Experimental feature -- HanYu PinYing Keyboard layout.
* Proper $HOME env handling.
* SegFault workaround after libtabe's tsi.src merge.
* Add the facility to input symbols.
* Successful stories:
. Chewing becomes one of the built-in input methods in Sun
Java Desktop System (JDS).
What's New in SCIM-chewing 0.2.0
----------------------------------------------------------
* User-friendly SetupUI
* Add functionality to show phrase interval using fonts decorated by
underline, caret by highlight fonts, and Zuin symbol after the
specific caret.
* Support experimental feature -- HanYu PinYing Keyboard layout.
* Settings-reload mechanism.
Any comment and patch are welcome for us. Thank you!
Sincerely,
Jim Huang
[1] http://chewing.csie.net/
( 2005年03月01日, 11:26:45 上午 CST )
Permalink