OSDN Git Service

luatex-ja/luatexja.git
9 years agoMerge remote-tracking branch 'origin/kitagawa_tfont' into kitagawa_tfont
Hironori Kitagawa [Sat, 15 Nov 2014 06:02:12 +0000 (15:02 +0900)]
Merge remote-tracking branch 'origin/kitagawa_tfont' into kitagawa_tfont

9 years agoltjclasses: everyshi package in tate classes.
Hironori Kitagawa [Sat, 15 Nov 2014 06:01:34 +0000 (15:01 +0900)]
ltjclasses: everyshi package in tate classes.

9 years agoltj-jfont.lua: try to reduce 'out of memory' error
Hironori Kitagawa [Thu, 13 Nov 2014 22:48:48 +0000 (07:48 +0900)]
ltj-jfont.lua: try to reduce 'out of memory' error

9 years agoupdated manuals.
Hironori Kitagawa [Wed, 12 Nov 2014 13:18:32 +0000 (22:18 +0900)]
updated manuals.

9 years agoltj-rmlgbm.lua: support 'vert' feature
Hironori Kitagawa [Mon, 10 Nov 2014 10:03:37 +0000 (19:03 +0900)]
ltj-rmlgbm.lua: support 'vert' feature

9 years agoFixed ticket #34595
Hironori Kitagawa [Mon, 10 Nov 2014 06:39:05 +0000 (15:39 +0900)]
Fixed ticket #34595

9 years ago"TateFeatures={RawFeatures=+vrt2}" does not work in IPA fonts
Hironori Kitagawa [Sat, 8 Nov 2014 12:52:58 +0000 (21:52 +0900)]
"TateFeatures={RawFeatures=+vrt2}" does not work in IPA fonts

9 years agochanged spec. of JFM
Hironori Kitagawa [Sat, 8 Nov 2014 12:44:24 +0000 (21:44 +0900)]
changed spec. of JFM

9 years agoFix a bug caused by commit 0526b27.
Hironori Kitagawa [Fri, 7 Nov 2014 10:27:03 +0000 (19:27 +0900)]
Fix a bug caused by commit 0526b27.

9 years ago'parbdd' was broken
Hironori Kitagawa [Fri, 7 Nov 2014 09:02:41 +0000 (18:02 +0900)]
'parbdd' was broken

9 years agochanged implicit activation method of vrt2 feature
Hironori Kitagawa [Fri, 7 Nov 2014 02:23:08 +0000 (11:23 +0900)]
changed implicit activation method of vrt2 feature

9 years agovertical origin when vert or vrt2 is explicitly specified in \tfont
Hironori Kitagawa [Wed, 5 Nov 2014 09:52:47 +0000 (18:52 +0900)]
vertical origin when vert or vrt2 is explicitly specified in \tfont

9 years agoapply "implicit" vert/vrt2 features just before computing character class
Hironori Kitagawa [Wed, 5 Nov 2014 09:05:33 +0000 (18:05 +0900)]
apply "implicit" vert/vrt2 features just before computing character class

9 years agotypo
Hironori Kitagawa [Mon, 3 Nov 2014 06:18:41 +0000 (15:18 +0900)]
typo

9 years agoltj-jfont.lua: lookup entry may be a table
Hironori Kitagawa [Mon, 3 Nov 2014 04:27:05 +0000 (13:27 +0900)]
ltj-jfont.lua: lookup entry may be a table

9 years agoget rid of attr_orig_char
Hironori Kitagawa [Sun, 2 Nov 2014 11:09:18 +0000 (20:09 +0900)]
get rid of attr_orig_char

9 years agoBugfix of the previous commit.
Hironori Kitagawa [Thu, 30 Oct 2014 09:54:55 +0000 (18:54 +0900)]
Bugfix of the previous commit.

9 years ago'vkrn' should work now
Hironori Kitagawa [Thu, 30 Oct 2014 08:08:12 +0000 (17:08 +0900)]
'vkrn' should work now

9 years agoltj-jfont.lua: support modification of vertical advance (e.g. 'vpal' feature)
Hironori Kitagawa [Thu, 30 Oct 2014 06:25:41 +0000 (15:25 +0900)]
ltj-jfont.lua: support modification of vertical advance (e.g. 'vpal' feature)

 * 'vkrn' feature does not work now
 * luaotfload implements mod. of horizontal advance by inserting kerns,
   hence I don't know how to treat horizontal advance in tate direction.

9 years agoltj-setwidth.lua: Use 'vwidth' for packing Japanese glyphs in tate direction
Hironori Kitagawa [Wed, 29 Oct 2014 11:02:52 +0000 (20:02 +0900)]
ltj-setwidth.lua: Use 'vwidth' for packing Japanese glyphs in tate direction

 Note: 'tsidebearing' is not used now, since fontloader of LuaTeX
 does not seem to read VORG table of an OpenType font.

9 years agorenamed cache file: ivs_*.lua -> extra_*.lua
Hironori Kitagawa [Wed, 29 Oct 2014 08:18:35 +0000 (17:18 +0900)]
renamed cache file: ivs_*.lua -> extra_*.lua

9 years agojfm-propv.lua: a metric for vertical proportional Japanese fonts
Hironori Kitagawa [Wed, 29 Oct 2014 08:17:59 +0000 (17:17 +0900)]
jfm-propv.lua: a metric for vertical proportional Japanese fonts

9 years agolltjfont.sty: unify patch of \fontfamily (in luatexja-fontspec-24.sty)
Hironori Kitagawa [Wed, 29 Oct 2014 01:55:31 +0000 (10:55 +0900)]
lltjfont.sty: unify patch of \fontfamily (in luatexja-fontspec-24.sty)

9 years agoltj-otf.lua: \CID and IVS now work with tate direction.
Hironori Kitagawa [Wed, 29 Oct 2014 00:17:41 +0000 (09:17 +0900)]
ltj-otf.lua: \CID and IVS now work with tate direction.

9 years agoUse lang field for judgement if a glyph_node repr. a JAchar or not.
Hironori Kitagawa [Tue, 28 Oct 2014 05:22:31 +0000 (14:22 +0900)]
Use lang field for judgement if a glyph_node repr. a JAchar or not.

9 years agoltj-direction.lua: cleanup.
Hironori Kitagawa [Fri, 24 Oct 2014 05:58:51 +0000 (14:58 +0900)]
ltj-direction.lua: cleanup.

9 years agoltj-jfmglue.lua: fix around italic correction
Hironori Kitagawa [Thu, 23 Oct 2014 01:58:02 +0000 (10:58 +0900)]
ltj-jfmglue.lua: fix around italic correction

9 years agoltj-direction.lua: output when page_dir != dir_yoko.
Hironori Kitagawa [Sun, 19 Oct 2014 21:14:20 +0000 (06:14 +0900)]
ltj-direction.lua: output when page_dir != dir_yoko.

9 years agoFix ticket #34492.
Hironori Kitagawa [Thu, 16 Oct 2014 05:48:27 +0000 (14:48 +0900)]
Fix ticket #34492.

dir_whatsit is not placed the beginning of an insertion,
but before each boxes and rules, because of page-breaking.

9 years agoFix a bug of prepare_vert_data (when "id" is a number)
Hironori Kitagawa [Wed, 15 Oct 2014 00:58:43 +0000 (09:58 +0900)]
Fix a bug of prepare_vert_data (when "id" is a number)

9 years agoReleases 20141013.0 20141013.0
Hironori Kitagawa [Mon, 13 Oct 2014 06:12:04 +0000 (15:12 +0900)]
Releases 20141013.0

9 years agoregenerated pdfs.
Hironori Kitagawa [Mon, 13 Oct 2014 04:47:58 +0000 (13:47 +0900)]
regenerated pdfs.

9 years agobaselineshift in discretionary break
Hironori Kitagawa [Tue, 7 Oct 2014 11:08:17 +0000 (20:08 +0900)]
baselineshift in discretionary break

9 years agoBackported commits 36ad2f96 and 98cb5558
Hironori Kitagawa [Tue, 7 Oct 2014 04:41:15 +0000 (13:41 +0900)]
Backported commits 36ad2f96 and 98cb5558

9 years agoltj-setwidth.lua: forgot to change icflag of glyph.
Hironori Kitagawa [Tue, 7 Oct 2014 03:46:14 +0000 (12:46 +0900)]
ltj-setwidth.lua: forgot to change icflag of glyph.

9 years agoltj-jfmglue.lua, ltj=pretreat.lua: optimize
Hironori Kitagawa [Tue, 7 Oct 2014 02:41:08 +0000 (11:41 +0900)]
ltj-jfmglue.lua, ltj=pretreat.lua: optimize

9 years agoltj-jfont.lua: italic correction for non-otf.
Hironori Kitagawa [Tue, 7 Oct 2014 02:40:22 +0000 (11:40 +0900)]
ltj-jfont.lua: italic correction for non-otf.

9 years agoFix ticket #34441.
Hironori Kitagawa [Tue, 7 Oct 2014 01:32:39 +0000 (10:32 +0900)]
Fix ticket #34441.

9 years agoTry to solve 'negative yoffset' problem ...
Hironori Kitagawa [Mon, 6 Oct 2014 08:52:06 +0000 (17:52 +0900)]
Try to solve 'negative yoffset' problem ...

9 years agoltj-setwidth.lua: try to use rules to adjusting dimensions of a glyph
Hironori Kitagawa [Sat, 4 Oct 2014 00:28:51 +0000 (09:28 +0900)]
ltj-setwidth.lua: try to use rules to adjusting dimensions of a glyph

9 years agoltj-jfmglue.lua and ltj-jfont.lua: optimized find_char_class()
Hironori Kitagawa [Fri, 3 Oct 2014 10:36:36 +0000 (19:36 +0900)]
ltj-jfmglue.lua and ltj-jfont.lua: optimized find_char_class()

9 years agoltj-jfmglue.lua: fix determing process of character classes.
Hironori Kitagawa [Thu, 2 Oct 2014 11:01:50 +0000 (20:01 +0900)]
ltj-jfmglue.lua: fix determing process of character classes.

9 years agoltj-jfmglue.lua: fix determing process of character classes.
Hironori Kitagawa [Thu, 2 Oct 2014 11:01:50 +0000 (20:01 +0900)]
ltj-jfmglue.lua: fix determing process of character classes.

9 years agoltj-jfmglue.lua: fix the call of check_box
Hironori Kitagawa [Thu, 2 Oct 2014 10:35:01 +0000 (19:35 +0900)]
ltj-jfmglue.lua: fix the call of check_box

9 years agoltj-adjust.lua: fix aw_step1 (as 10e5a41)
Hironori Kitagawa [Wed, 1 Oct 2014 11:03:36 +0000 (20:03 +0900)]
ltj-adjust.lua: fix aw_step1 (as 10e5a41)

9 years agoltj-adjust.lua: now works again
Hironori Kitagawa [Tue, 30 Sep 2014 12:23:37 +0000 (21:23 +0900)]
ltj-adjust.lua: now works again

9 years agoltj-setwidth.lua: removed luatexja.setwidth.set_ja_width()
Hironori Kitagawa [Tue, 30 Sep 2014 12:17:31 +0000 (21:17 +0900)]
ltj-setwidth.lua: removed luatexja.setwidth.set_ja_width()

9 years agomoved the greater part of luatexja.setwidth.set_ja_width to luatexja.jfmglue.main
Hironori Kitagawa [Tue, 30 Sep 2014 02:58:20 +0000 (11:58 +0900)]
moved the greater part of luatexja.setwidth.set_ja_width to luatexja.jfmglue.main

Warning: luatexja-adjust.sty does not work with this commit.

9 years agoltj-setwidth.lua: preparation of reconstrustion of capsulating glyphs.
Hironori Kitagawa [Tue, 30 Sep 2014 01:27:34 +0000 (10:27 +0900)]
ltj-setwidth.lua: preparation of reconstrustion of capsulating glyphs.

9 years agoltj-stack.lua: small optimize.
Hironori Kitagawa [Sun, 28 Sep 2014 21:19:38 +0000 (06:19 +0900)]
ltj-stack.lua: small optimize.

9 years agoMerge branch 'kitagawa_tfont' into kitagawa_stack
Hironori Kitagawa [Thu, 25 Sep 2014 01:30:06 +0000 (10:30 +0900)]
Merge branch 'kitagawa_tfont' into kitagawa_stack

9 years agoluatexja-core.sty: use everyhook package for \everyhbox and \everyvbox, if possible.
Hironori Kitagawa [Wed, 24 Sep 2014 12:35:01 +0000 (21:35 +0900)]
luatexja-core.sty: use everyhook package for \everyhbox and \everyvbox, if possible.

9 years agoIn non-restricted hmode, stack whatsit is not necessary.
Hironori Kitagawa [Mon, 22 Sep 2014 01:21:39 +0000 (10:21 +0900)]
In non-restricted hmode, stack whatsit is not necessary.

9 years agoFix error caused by "\afterassignment a\setbox0=\hbox{}".
Hironori Kitagawa [Mon, 22 Sep 2014 10:33:02 +0000 (19:33 +0900)]
Fix error caused by "\afterassignment a\setbox0=\hbox{}".

9 years agoIn non-restricted hmode, stack whatsit is not necessary.
Hironori Kitagawa [Mon, 22 Sep 2014 01:21:39 +0000 (10:21 +0900)]
In non-restricted hmode, stack whatsit is not necessary.

9 years agoluatexja.dtx: typo
Hironori Kitagawa [Fri, 19 Sep 2014 13:06:15 +0000 (22:06 +0900)]
luatexja.dtx: typo

9 years agoChanged default fonts to IPAex fonts.
Hironori Kitagawa [Fri, 19 Sep 2014 10:49:07 +0000 (19:49 +0900)]
Changed default fonts to IPAex fonts.

9 years agoChanged default fonts to IPAex fonts.
Hironori Kitagawa [Fri, 19 Sep 2014 10:49:07 +0000 (19:49 +0900)]
Changed default fonts to IPAex fonts.

9 years agoUpdated manual.
Hironori Kitagawa [Wed, 17 Sep 2014 10:38:19 +0000 (19:38 +0900)]
Updated manual.

9 years agoltj-direction.lua: forgot to unset next field
Hironori Kitagawa [Wed, 17 Sep 2014 10:37:59 +0000 (19:37 +0900)]
ltj-direction.lua: forgot to unset next field

9 years agoFix \unhcopy etc. to remove extra dir whatsits.
Hironori Kitagawa [Tue, 16 Sep 2014 05:05:46 +0000 (14:05 +0900)]
Fix \unhcopy etc. to remove extra dir whatsits.

9 years agoltj-direction.lua: use atbegshi.sty
Hironori Kitagawa [Sun, 14 Sep 2014 09:03:50 +0000 (18:03 +0900)]
ltj-direction.lua: use atbegshi.sty

9 years agoltj-setwidth.lua: removed unnecessary nodes.
Hironori Kitagawa [Sun, 14 Sep 2014 00:39:38 +0000 (09:39 +0900)]
ltj-setwidth.lua: removed unnecessary nodes.

9 years agoUpdated manual: luatexja.cfg and stfloats package
Hironori Kitagawa [Mon, 8 Sep 2014 02:44:31 +0000 (11:44 +0900)]
Updated manual: luatexja.cfg and stfloats package

9 years agoforgot to remove debug code
Hironori Kitagawa [Sat, 6 Sep 2014 14:23:42 +0000 (23:23 +0900)]
forgot to remove debug code

9 years agoMore LaTeX codes for vertical writing
Hironori Kitagawa [Sat, 6 Sep 2014 14:16:51 +0000 (23:16 +0900)]
More LaTeX codes for vertical writing

 lltjext.sty: fix ``unnatural'' behavior of \rensuji
 lltjcore.sty: add codes related to \footnote from plcore
 lltjfont.sty: use `漢' instead of `あ'

9 years agotool/release.sh: I uploaded 20140906.0 in 'BSD-like License'
Hironori Kitagawa [Sat, 6 Sep 2014 08:57:00 +0000 (17:57 +0900)]
tool/release.sh: I uploaded 20140906.0 in  'BSD-like License'

9 years agotool/release.sh: I uploaded 20140906.0 in 'BSD-like License'
Hironori Kitagawa [Sat, 6 Sep 2014 08:57:00 +0000 (17:57 +0900)]
tool/release.sh: I uploaded 20140906.0 in  'BSD-like License'

9 years agoReleases 20140906.0 20140906.0
Hironori Kitagawa [Sat, 6 Sep 2014 08:20:21 +0000 (17:20 +0900)]
Releases 20140906.0

9 years agoltj-ruby.lua: cache_handle can be nil
Hironori Kitagawa [Wed, 3 Sep 2014 11:38:22 +0000 (20:38 +0900)]
ltj-ruby.lua: cache_handle can be nil

9 years agoltj-ruby.lua: cache_handle can be nil
Hironori Kitagawa [Wed, 3 Sep 2014 11:38:22 +0000 (20:38 +0900)]
ltj-ruby.lua: cache_handle can be nil

9 years agoUpdated tool/release.sh.
Hironori Kitagawa [Wed, 3 Sep 2014 11:09:04 +0000 (20:09 +0900)]
Updated tool/release.sh.

9 years agoUpdated tool/release.sh.
Hironori Kitagawa [Wed, 3 Sep 2014 11:09:04 +0000 (20:09 +0900)]
Updated tool/release.sh.

9 years agoRegenerated manual pdfs.
Hironori Kitagawa [Wed, 3 Sep 2014 10:55:01 +0000 (19:55 +0900)]
Regenerated manual pdfs.

9 years agoluatexja-preset.sty: fix expert option.
Hironori Kitagawa [Wed, 3 Sep 2014 02:24:55 +0000 (11:24 +0900)]
luatexja-preset.sty: fix expert option.

9 years agoUpdated manual
Hironori Kitagawa [Wed, 3 Sep 2014 00:55:30 +0000 (09:55 +0900)]
Updated manual

 sync with kitagawa_tfont branch,
 but removed anything about vertical writing
 (since this branch doesn't support vertical writing yet)

9 years agoUpdated test04-jfm.{tex,pdf,txt}
Hironori Kitagawa [Tue, 2 Sep 2014 12:39:28 +0000 (21:39 +0900)]
Updated test04-jfm.{tex,pdf,txt}

9 years agoUpdated documents.
Hironori Kitagawa [Tue, 2 Sep 2014 05:18:14 +0000 (14:18 +0900)]
Updated documents.

9 years agoltj-jfmglue.lua: Fix handle_penalty_always() to always insert non-zero penalty.
Hironori Kitagawa [Tue, 2 Sep 2014 05:15:22 +0000 (14:15 +0900)]
ltj-jfmglue.lua: Fix handle_penalty_always() to always insert non-zero penalty.

9 years agoltj-jfmglue.lua: Fix handle_penalty_always() to always insert non-zero penalty.
Hironori Kitagawa [Tue, 2 Sep 2014 05:15:22 +0000 (14:15 +0900)]
ltj-jfmglue.lua: Fix handle_penalty_always() to always insert non-zero penalty.

9 years agoFix #34253.
Hironori Kitagawa [Mon, 1 Sep 2014 03:50:26 +0000 (12:50 +0900)]
Fix #34253.

9 years agoltj-adjust.lua: support situations like \hfil\hfilneg
Hironori Kitagawa [Sat, 23 Aug 2014 04:19:38 +0000 (13:19 +0900)]
ltj-adjust.lua: support situations like \hfil\hfilneg

9 years agoltj-adjust.lua: support situations like \hfil\hfilneg
Hironori Kitagawa [Sat, 23 Aug 2014 04:19:38 +0000 (13:19 +0900)]
ltj-adjust.lua: support situations like \hfil\hfilneg

9 years agoFix #34207 (cherry-pick 5ee9868b)
Hironori Kitagawa [Thu, 21 Aug 2014 10:59:25 +0000 (19:59 +0900)]
Fix #34207 (cherry-pick 5ee9868b)

9 years agoFix #34207
Hironori Kitagawa [Thu, 21 Aug 2014 10:59:25 +0000 (19:59 +0900)]
Fix #34207

9 years agoAdded jfm-convert.lua (pTeX JFM -> LuaTeX-ja JFM)
Hironori Kitagawa [Tue, 19 Aug 2014 00:06:09 +0000 (09:06 +0900)]
Added jfm-convert.lua (pTeX JFM -> LuaTeX-ja JFM)

9 years agoluatexja-core.sty: Redefined \un{h,v}copy.
Hironori Kitagawa [Fri, 15 Aug 2014 01:14:35 +0000 (10:14 +0900)]
luatexja-core.sty: Redefined \un{h,v}copy.

9 years agoltj-direction.lua: fixed a bug that \inhibitglue\tate causes an error.
Hironori Kitagawa [Thu, 14 Aug 2014 03:38:27 +0000 (12:38 +0900)]
ltj-direction.lua: fixed a bug that \inhibitglue\tate causes an error.

9 years agoMoved some Lua codes to avoid circular dependencies
Hironori Kitagawa [Wed, 13 Aug 2014 07:38:18 +0000 (16:38 +0900)]
Moved some Lua codes to avoid circular dependencies

9 years agolltjext.sty: compatibility with array.sty.
Hironori Kitagawa [Mon, 11 Aug 2014 14:21:39 +0000 (23:21 +0900)]
lltjext.sty: compatibility with array.sty.

9 years agoluatexja-fontspec-24.sty: Fix that YokoFeatures doesn't stack.
Hironori Kitagawa [Mon, 11 Aug 2014 02:05:35 +0000 (11:05 +0900)]
luatexja-fontspec-24.sty: Fix that YokoFeatures doesn't stack.

9 years agoluatexja-fontspec-24.sty: YokoFeatures etc. inside AltFont
Hironori Kitagawa [Sun, 10 Aug 2014 01:58:29 +0000 (10:58 +0900)]
luatexja-fontspec-24.sty: YokoFeatures etc. inside AltFont

e.g.:
\jfontspec
[
  AltFont = { { Color=0000FF,  Range="6000-"9FFF } },
  BoldFont=KozMinPr6N-Bold,
  UprightFeatures = {
    AltFont = {
      { Font=KozGoPr6N-Light, Range="3000-"30FF, TateFont = KozGoPr6N-Heavy,
        YokoFeatures={ Color=4F0000} }
    },
  },
  BoldFeatures = { Color=006F00,
    AltFont = { { Font=KozGoPr6N-Bold, Range="3000-"30FF } },
  },
]{KozMinPr6N-Light}

Now AltFont stacks with \addjfontfeatures.

9 years agoluatexja-fontspec: support AltFont inside BoldFeatures etc.
Hironori Kitagawa [Sat, 9 Aug 2014 04:52:25 +0000 (13:52 +0900)]
luatexja-fontspec: support AltFont inside BoldFeatures etc.

9 years agoluatexja-fontspec: Added YokoFeatures, TateFeatures and TateFont key.
Hironori Kitagawa [Fri, 8 Aug 2014 08:20:44 +0000 (17:20 +0900)]
luatexja-fontspec: Added YokoFeatures, TateFeatures and TateFont key.

TODO:
 * \zw, \zh doesn't support vertical fonts (yet)
 * with lltjext.sty, a tabular in text09-fontspec.tex couldn't be processed.
 * more tests

9 years agolltjext.sty: direction option of picture environment
Hironori Kitagawa [Tue, 5 Aug 2014 01:03:36 +0000 (10:03 +0900)]
lltjext.sty: direction option of picture environment

9 years agoForgot to include ltj-direction.lua^^;
Hironori Kitagawa [Tue, 5 Aug 2014 01:02:58 +0000 (10:02 +0900)]
Forgot to include ltj-direction.lua^^;

9 years agoltj-direction.lua:match arrangement of box of dirrerent direction.
Hironori Kitagawa [Mon, 4 Aug 2014 13:32:12 +0000 (22:32 +0900)]
ltj-direction.lua:match arrangement of box of dirrerent direction.

 Add new test: tets55-boxdim_diffdir.tex

9 years agoltj-direction.lua: Fix 'Attempt to double-free pdf_save node.'
Hironori Kitagawa [Mon, 4 Aug 2014 08:02:08 +0000 (17:02 +0900)]
ltj-direction.lua: Fix 'Attempt to double-free pdf_save node.'

9 years agoComplete lltjext.sty (and \vcenter)
Hironori Kitagawa [Mon, 28 Jul 2014 01:08:20 +0000 (10:08 +0900)]
Complete lltjext.sty (and \vcenter)

9 years agoVertical Japanese fonts in ltjsclasses.
Hironori Kitagawa [Sat, 26 Jul 2014 11:16:15 +0000 (20:16 +0900)]
Vertical Japanese fonts in ltjsclasses.