summaryrefslogtreecommitdiff
path: root/source/fitz/noto.c
AgeCommit message (Collapse)Author
2018-09-21Add fz_lookup_cjk_font_by_name to create builtin CJK fonts.Tor Andersson
2018-09-21Regularize language and script names.Tor Andersson
Drop the unused 'serif' argument to the CJK lookup functions. Use the BCP 47 names for CJK scripts and languages: zh-Hant for traditional Chinese, zh-Hans for simplified Chinese, ja for Japanese, ko for Korean. The lookup function also allows commonly used language+country codes: zh-TW and zh-HK for traditional Chinese, zh-CN for simplified Chinese.
2018-08-10Tweak hexdumped data to increase build portability.Tor Andersson
Follow bin2coff layout for hexdumped data instead of trying to emulate the objcopy layout (which seems to break for the android tools). Only use the basename of the resource in hexdump / bin2coff. Ifdef on HAVE_OBJCOPY instead of _WIN32.
2018-06-22Update base 14 fonts to URW++ release from 2017-07-27.Tor Andersson
The Dingbats and Symbol fonts have not been changed.
2018-06-11Use bin2coff to generate font data blobs object files.Tor Andersson
This is the windows equivalent of objcopy or ld -r binary. We need different bin2coff font object files for 32 and 64 bit builds, so put the font object files in AdditionalDependencies. Revamp Windows builds to use bin2coff. Fix bin2coff to not use '-' in symbol names. Add a new project file to make bin2coff. Add a .rules file to tell MSVC how to call the built version of bin2coff. Update libresources build to use this rules file. Update noto.c to correctly find the symbols we make.
2018-05-16Restore Emoji font.Tor Andersson
The Noto symbol font has been split into two. The second symbol font only contains a subset of the emojis, so reinstate the real emoji font and add both symbol fonts to the fallback chain.
2018-04-25Update Noto fonts.Tor Andersson
Import Source Han Serif 1.001. Use serif fonts in preference for sans.
2018-04-25Don't use WMode as part of CJK font lookup.Tor Andersson
Return TTC subfont index from fz_lookup_noto_font.
2018-04-25Support creating both serif and sans-serif CJK fonts in mutool create.Tor Andersson
Also support Vertical WMode.
2018-04-25Use objcopy to compile font resources.Tor Andersson
2018-04-25Check in generated CMap source.Tor Andersson
Created with the 'scripts/runcmapdump.sh' script.
2018-03-16Simplify PDF font creation code.Tor Andersson
Don't create a useless pdf_font_desc when writing font resources. Simplify reference counting by using fewer intermediate variables.
2017-06-22Use unsigned char arrays in hexdumped data.Tor Andersson
2017-04-27Include required system headers.Tor Andersson
2017-04-27Include "mupdf/ucdn.h" explicitly.Tor Andersson
2017-03-21Replace fontdump, bin2hex and cquote with one tool: hexdump.Tor Andersson
Still need specialty tools for namedump and cmapdump.
2017-01-20Add separate TOFU_NOTO define to skip Noto fonts (but not Charis SIL).Tor Andersson
2016-11-23Update UCDN database to Unicode 9.0.0.Sebastian Rasmussen
2016-10-07Update Noto fonts.Tor Andersson
New Devanagari serif font, several other updated fonts.
2016-06-29Add Source Han Sans CJK per-language fonts.Tor Andersson
Import fonts from v1.004.
2016-06-23epub: Use markup language when shaping and selecting fallback fonts.Tor Andersson
2016-06-22MSVC build: Fix build of noto.cRobin Watts
The old definition for the RETURN macro relied on it either being on a non-standard C compiler, or it being used at the start of a block. Fix with a better macro.
2016-06-22Use vertical presentation forms.Tor Andersson
Remap glyphs using presentation form code points rather than having a separate vertical variant of the CJK font using truetype collections. Recreate DroidSansFallback fonts from original source, extend the glyph coverage from DroidSans, subset the glyphs to match CJK CID collections, and optimize the outlines using fontcrunch.
2016-06-22epub: Expose Dingbats, Symbol, and Emoji fonts by name.Tor Andersson
2016-06-17Update base 14 fonts to the latest release from URW.Tor Andersson
The fonts are now under the SIL Open Font License! Converted with AFDKO tool 'tx': tx -cff +F +S +T -b -n -gx $EXCL -a *.t1 $EXCL is the list of PUA glyphs used by PCL that we don't need in mupdf. The Dingbats and Symbol fonts have only been regenerated from the old version, since there are no new glyphs (but several problems) in the newest version.
2016-05-30Add TOFU_BASE14 option.Robin Watts
2016-04-04epub: Add stripped Charis SIL font to use as the default font for EPUB.Tor Andersson
2016-03-31html: Tweak how builtin font families are loaded.Tor Andersson
2016-03-23Fix declaration after statements.Tor Andersson
2016-03-23Compile embedded fonts in separate C files.Tor Andersson
Also change unsigned char into const char for embedded data.
2016-01-28Add Noto fallback fonts.Tor Andersson
Look up fallback fonts by unicode script, with a flag to select the serif or sans-serif font style where such variants exist. Move all builtin fonts into fitz namespace.