Skip to content

Replace Thai vowel character that placed on wrong position on the web with the corrected one.

Notifications You must be signed in to change notification settings

noomz/thai-vowel-corrector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

INTRODUCTION

Replace Thai vowel character that placed on wrong position on the web with the corrected one.

USAGE

First, font must support private Thai unicode range (U+0E00 to U+0E7F and U+F700 to U+F882). Then simply use this snippet on your web page.

<script src="path/to/thai-vowel-corrector.js"></script>
<script>
var newContent = correctThaiFloatingVowel(content);
</script>

For cufon do this:

Cufon.set('modifyText', correctThaiFloatingVowel);

or pass as an options:

Cufon.replace('h1', {
  modifyText: correctThaiFloatingVowel
});

see example for cufon in './examples' directory.

About

Replace Thai vowel character that placed on wrong position on the web with the corrected one.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published