Bugfixes:
- Chrome/Chromium has a bug that prevents loading local fonts correctly in @font-face rules on Linux platform since at least v80.
- Explicitly added CJKPunct before FixedPMSans in FixMarksInCurrHTML as a workaround. Not sure if more bugs will appear due to this change.
Bugfixes:
- Revert to the "FixedPMSans !important" in FixMarksInCurrHTML function.
- FixedPMSans is a virtual font name. Print "punctStyle" @font-face value to further debug.
Bugfixes:
- Removed the "FixedPMSans !important" in FixMarksInCurrHTML function. Don't know why they were there. This might fix some bugs but might also cause more problems?
Bugfixes:
- Fixed the incompatibility issue with Greasemonkey 4 (using a workaround for now).
Bugfixes:
- Disabled FixCJK on *.wolframcloud.com
Bugfixes:
- Disabled FixCJK on bilibili players.
Bugfixes:
- Disabled FixCJK on some windows live websites.
Bugfixes:
- Fixed issue #129.
Features/Bugfixes:
- Added "Source Han Serif Regular" according to issue #127.
Features/Bugfixes:
- Speed slightly increased by labeling the newest elements first.
- Other bugfixes.
Features/Bugfixes:
- Use font-face to disable YaHei for ASCII characters.
- Add use-noto-only.sh to generte the "Noto Sans" only flavor.
- Use better method to only fire ReFix after scolling is stopped.
Bugfixes:
- Changed the implementation of "SkippedLangs" so that the inital lang=en pages can still be checked by long click or double click.
Bugfixes:
- Fix a bug that prevents recognizing ending "”(\u201D)".
Bugfixes:
- Correct font list (Thanks to @Explorare)
- Drop using unicode PUA in font signatures to fix issue #113.
- Some bugfixes related to the
FixPunct
. - Partial support for "space between PMs CJK characters".
Features/Bugfixes:
- Official support for Janpanese font settings.
Bugfixes:
- Fix some bugs which prevent correct rendering for lang=ja elements in 1.2.12.
- Use "Element.closest()" to get the accurate lang attribute.
Features:
- Kana fonts can be set now.(
KanaSans
andKanaSerif
) - Japanese fonts can be set for
lang=ja
elements as well. - Turn
usePaltForCJKText
toon
by default because it only affects kanas and won't affect other CJK characters. - add
LatinDefault
so that the font won't fallback toLatinInSimSun
if not found.
Features/Bugfixes:
- Use custom attributes to avoid messing up with HTML classes.
- Do not getAfterHTML and getBeforeHTML for the right- and left-floated elements.
- Add "skipJaLang" option to control whether to skip Japanese contents or not.
- Add Source Han to the font fallback list.
Features/Bugfixes:
- Force justify aligment on zhihu.com.
- More flexible noWrappingClasses.
- Add
scrollToFixAll
option.
Features:
- Smarter punctuation mark kerning based on Noto Sans/Source Hans's "palt" property.
- Further speed optimization.
- Enable autosapce by default. No need to double-click.
- More settings such as the size of space and "enable palt for all CJK text".
Bugfixes:
- Disable script on Japanese webpages. (Issue #100)
- Force applying PM fonts to work with webpages using "!important".
- Some bugs caused by the old PM engine.
- Other bugfixes. See "Issues" for more.
Bugfixes:
- Remove "// @match file:///*" to enable the script again with greasemonkey.
Bugfixes:
- Compatible with MathJax.
Features/Bugfixes:
- Add "PT Sans" and "PT Serif" to the font list.
- More "excludes".
Bugfixes:
- No longer label as CJK if only quotation marks are detected.
Bugfixes:
- Restore the ability to use SimSun or SimHei if NotoSans is not installed.
Bugfixes:
- Avoid multiple wraps for "font" elements.
Bugfixes:
- Check more before adding "FontsFixedE137" in Round 3.
Bugfixes:
- Do not wrap CJK if not puncts to fix and no spaces to add.
- Disable running on dnf.qq.com/main.shtml pages for now.
- Double check SimSun2Fix.
Bugfixes:
- Add more tags to the "SkippedTagsForMarks" list.
Bugfixes:
- Fix the broken anchors to javascripts.
Features:
- (For Debugging Only) Long-click to force testing and labeling all elements.
Bugfixes:
- Fix the performance issue of
addSpaces()
. - Improve the performance of
labelCJK()
.
Bugfixes:
- Hidden elements can be deteced now, even if they are hidden inside an inline element.
- Disable punct/space fixing for "contentEditable" elements.
- No longer adding extra spaces in some cases.
- Restrict the use of recursive CJK labeling to prevent overshoot.
- Add more timer to mitigate the slow checking on some websites.
Features:
- A new "event-listener-friendly" algorithm is implemented. Dynamic contents should not be broken by the script any more.
- Scroll to apply font settings.
- The "Long-click to force correction" method is no longer needed and dropped.
- "See through" tags to accurately determine what corrections should be applied.
- Much faster rechecking and refixing.
Bugfixes:
- Numerial bugfixes thanks to the new structure and algorithm.
Features:
- Add a "banned classes" mechanism to better control elements.
- More site-specific rules.
Features:
- Limit the tags that can be ignored while adding spaces to prevent unwanted effects.
- Ignore some tags such as
math
to speed up. - Use custom settings for mediawiki contents.
Bugfixes:
is taken into account as[\s]
or[\u0020\u00A0]
.- Do not add extra spaces between CJK and Latin quotation marks if the context is in SimSun.
Features:
- Rewrite SimSun selector and more SimSun fonts can be captured.
- Rewrite the "signature" mechenism and the SimSun/mono filter for space adding.
- New replacing method of SimSun/SimHei. More ASCII/UNICODE figures are supported.
- Use
span
instead of blank spaces while inserting spaces. - Do not replace SimSun if font-size > 18px.
Bugfixes:
- Several bugfixes thanks to the new selector.
Bugfixes:
- Fix a regression which prevents "forced recheck".
Bugfixes:
- Use narrow non-break space instead of thin space.
Features:
- Double-click to add spaces.
- Use "justify" as the default align.
- Also squeeze the first CJK quotation marks.
Bugfixes:
- Fix a bug in fixing "reverse-paired" marks. The function is too buggy and disabled by default.
- Blank spaces at the beginning of a line is not deleted anymore.
- Elements without text nodes can also be fixed.
Features:
- Use the asynchronous feature to fire re-checking after other events are done.
- Add more timers.
- Modify SimSun search pattern to match more styles.
Bugfixes:
- Turn off the debug flags in the "release" version to restore the performance.
Features:
- Add "lang=zh" attibute to fixed DOM nodes. Better layout with Firefox.
- "Blank space removing" is more accurate.
- Try to fix mispaired CJK quotation marks.
- Also "squeeze" individual CJK quotation marks.
Bugfixes:
- Several bugfixes during code cleaning up.
Features:
- Fixing fonts and letter-spacing are separated, shorter but much better fixing methods can be used.
- The length limit of consecutive punctuation marks is full removed.
Bugfixes:
- A lot of bugs have been fixed thanks to the new multi-pass implementation.
Bugfixes:
- Various bugfixes thanks to a partial rewriting/cleaning up.
Features:
- Add a webpage repairing framework. Currently it can fix the picture problem after applying "forced fixing". Other webpage repairings can be added in the future.
Bugfixes:
- Some previously omitted combinations are taken into account.
- Fixing is skipped if child(type==3).data contains only blank spaces.
Features:
- Add a safer recursion implementation which is used as default.
- A new "long-click-to-force-fix-punctuations" feature is added.
Features:
- Code cleaning up. Add a flag (
debug_verbose
) to control whether more information should be shown.
Features:
- Continue to optimize the selection rules in the "click to check" function.
Bugfixes:
- Various bugs caused by punctuation marks in tags are fixed.
Features:
- Continue to optimize the selection rules in the "click to check" function.
Bugfixes:
- The "processed ”" is taken into account in the "two consecutive marks" part. More "processed" marks will be considered later.
Features:
- Optimize the selection rules in the "click to check" function.
- Skip English/Latin sites when adding the onClick event listener.
Bugfixes:
- Add
float:none
tostyle
to prevent position changes of punctuation marks. - The onClick listener was conflicting with scripts on some websites, fixed now.
- Quotation marks winthin tags are now treated correctly.
<BODY>
is now in theSkippedTags
list.
Features:
- Add an "onClick" event to
document
. Punctuations will be re-checked if click on anywhere of a webpage.
Bugfixes:
- Fix a bug related to context with blank space.
Features:
- Apply CJK filter first to speed up.
Bugfixes:
- More punctuation combinations are taken into account.
Features:
- More fine-grained control of execution time.
Features:
- Add an internal timer to limit the execution time to 3.0 seconds.
- Do not run CJK punctuation checking on pure Latin pages.
Bugfixes:
- Some bug fixes related to ")》】".
Features:
- Also squeeze spaces before and after "()《》".
- CJKPunct supports fallback list.
- Allow multiple passes to fully fix punctuations.
- Add Chinese description.
Bugfixes:
- Various bugfixes including the picture bug on zhihu.com.
Features:
- Change fonts for some other punctuation marks as well using CSS unicode range (FF 44+).
- Only consecutive punctuation marks are compressed by default.
Bugfixes:
- Some minor bug fixes related to unicode.
Features:
- (Not for end user) Use relative letter-spacing.
Bugfixes:
- HTML symbols (
/&[^&;]+;/
) are correctly treated now.
Features:
- Log execution time to console.
Bugfixes:
- Punctuation fixing skips HTML elements lik
TITLE
andHEAD
.
Bugfixes:
- Single and double quotation marks are treated as unified as possbile. Several inconsistency bugs are fixed.
Bugfixes:
- Quotation marks followed by mixed CJK and Latin text are treated as CJK now.
- Fix a bug leading to unclosed HTML tags.
Features:
- FixPunct now also delete extra blanck spaces after CJK punctuations
- FixPunct seems to be stable enough to be turn on by default. Remember to disable the script while editing CJK text.
Bugfixes:
- Improvement on the "FixPunct" function. CJK quotation marks seems normal now.
Features:
- (Not Stable Yet!) Add an EXPERIMENTAL implementation to fix CJK quotation marks. Set "FixPunct" to "true" if you want to try. Turn off the script before entering editing area!
Bugfixes:
- Several regressions related to the quotation format of font-family lists are fixed.
Features:
- (NOT for end users) Add a "debugging" flag to turn on/off font colors.
Bugfixes:
- Fix a bug that SimSun might be used if the CSS-assigned Latin font cannot be found.
Bugfixes:
- Fix "SimSun" matching for some GB2312 encoded webpages.
- Fix pattern matching for font lists with redundant/unpaired quotation marks.
Features:
- Check font definitions before applying settings.