office-gobmx/extras
dante 2d9ca45e0e Addition of OpenSymbol2
Remaining lines have been uploaded via amend.
The other day was discussed in the IRC chat if OpenSymbol was actually removable. The actual problem with open symbol is that there are too many characters missing characters and it supposes a ballast for starmath.
This responds to: Bug tdf#134214
Some of the problems caused by this are WON'T FIX: mathhbb, fractur, setp tdf#49990 and much more.
However replacing the font was actually impossible. If changed the layouts old documents may break. For that reason the new font had to support what already was implemented in a way it won't change the layout: the old symbols had to be conservated.
Result: we are creating a new font, containing opensymbol just for personal use of starmath module.
For now the changes with opensymbol are:
  - Reencoded as ISO 10466-1 ( unicode32 full ) with fontforge.
  - Added quadruple integral with fontforge.
  - Do not use it outside starmath. Changes will be made in private chars area. IT MAY BREAK.
In order to complete it, characters from anothers fonts will be added. For now the best option is libertinus math. This font final name might end beeing something like LO Libertinus math.
I have already contacted the maintainer in order to get permission and waiting for answer. In case of no will look for other fonts.
The other option would be to make opensymbol2 a subproduct of libertinus because:

2) Original or Modified Versions of the Font Software may be bundled,
redistributed and/or sold with any software, provided that each copy
contains the above copyright notice and this license. These can be
included either as stand-alone text files, human-readable headers or
in the appropriate machine-readable metadata fields within text or
binary files as long as those fields can be easily viewed by the user.

Change-Id: Ia33a0181b0d28b65680d8df9ffa3d0c37078df18
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105769
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2021-07-24 15:21:11 +02:00
..
source
util
AllLangPackage_autotextshare.mk
CustomTarget_autocorr.mk
CustomTarget_autotextshare.mk
CustomTarget_autotextuser.mk
CustomTarget_gallsystem.mk
CustomTarget_glade.mk
CustomTarget_opensymbol.mk
CustomTarget_tpl_styles.mk
CustomTarget_tpldraw.mk
CustomTarget_tplofficorr.mk
CustomTarget_tploffimisc.mk
CustomTarget_tplpersonal.mk
CustomTarget_tplpresnt.mk
Gallery_backgrounds.mk
Gallery_sound.mk
Makefile
Module_extras.mk
Package_autocorr.mk
Package_autotextuser.mk
Package_cfgsrvnolang.mk
Package_cfgusr.mk
Package_database.mk
Package_databasebiblio.mk
Package_fonts.mk
Package_gallbullets.mk
Package_gallmytheme.mk
Package_gallroot.mk
Package_gallsystem.mk
Package_gallsystemstr.mk
Package_glade.mk
Package_labels.mk
Package_newfiles.mk
Package_palettes.mk
Package_resource_fonts.mk
Package_tpl_styles.mk
Package_tpldraw.mk
Package_tplofficorr.mk
Package_tploffimisc.mk
Package_tplpersonal.mk
Package_tplpresnt.mk
Package_tplwizagenda.mk
Package_tplwizbitmap.mk
Package_tplwizdesktop.mk
Package_tplwizfax.mk
Package_tplwizletter.mk
Package_tplwizreport.mk
Package_tplwizstyles.mk
Package_wordbook.mk
Personas.mk
README.md

Extra Modules

Contains templates, clipart galleries, palettes, symbol font, autocorrections, autotexts etc.

  • How-to add a new gallery:

    • create a directory extras/source/gallery/foo/
    • create a .str file extras/source/gallery/foo/foo.str
    • add a foo section to extras/source/gallery/share/gallery_names.ulf
    • add a Gallery_foo.mk at the top-level (and mention in Module_extra.mk)
    • add a new GALLERY_FILELIST statement in scp2/
  • How-to add a new autotext category

    • create a directory extras/source/autotext/lang/xx/foo/ where xx is your lang code. xx must exactly fit with an UI lang code.
    • unzip your foo.bau autotext file in this directory (including an empty mimetype file)
    • add xx/foo.bau in extras/AllLangPackage_autotextshare.mk
    • in extras/CustomTarget_autotextshare.mk:
      • add xx/foo in extras_AUTOTEXTSHARE_AUTOTEXTS
      • add all files contained in foo.bau (except mimetype) in extras_AUTOTEXTSHARE_XMLFILES
      • if foo.bau contains files with other extension than .xml, .rdf, .svm and .png
        • add a CPY call at the end of the file
  • How-to add a new autotext to an existing category

    • create a directory extras/source/autotext/lang/xx/standard/FOO/ to add it in category standard of lang xx
    • add files of the autotext (at least FOO.xml for an unformatted autotext)
    • add autotext name in extras/source/autotext/lang/xx/standard/BlockList.xml
    • add all files of autotext in extras/source/autotext/lang/xx/standard/META-INF/manifest.xml
    • in extras/CustomTarget_autotextshare.mk:
      • add all files of autotext in extras_AUTOTEXTSHARE_XMLFILES
      • if some files have different extension from .xml, .rdf, .svm and .png
        • add a CPY call at the end of the file
  • How-to add a new Impress template

    • clean-up template file as indicated on wiki https://wiki.documentfoundation.org/Documentation/HowTo/Impress/Make_template_language_independent
    • add <dc:title>Foo</dc:title> in meta.xml to make presentation name translatable
    • unzip Foo.otp file in extras/source/templates/presnt/Foo (no space allowed in any file names)
    • add Foo.otp in Package_tplpresnt.mk
    • in CustomTarget_tplpresnt.mk:
      • add Foo / in extras_TEMPLATES_PRESENTATIONS
      • add files names contained in Foo.otp (except mimetype) in extras_PRESENTATIONS_XMLFILES
      • if Foo.otp contains files with other extension than .xml, .svm, .svg, .png and .jpg
        • add a CPY call at the end of file
  • How-to add a new Writer template

    • clean-up template file as much as possible, and choose a template category <Category>
    • unzip Foo.ott in extras/source/templates/<Category>/Foo (no space allowed in any file names)
    • add Foo.ott in Package_<tplCategory>.mk
    • in CustomTarget_<tplCategory>.mk:
      • add Foo / in extras_TEMPLATES_<CATEGORY>
      • add files names contained in Foo.otp (except mimetype) in extras_<CATEGORY>_XMLFILES
      • if Foo.ott contains files with other extension than .xml, .rdf, .svm, .svg, .png and .jpg
        • add a CPY call at the end of file
  • How-to add a new template category

    • create a directory extras/source/templates/foo/
    • unzip your foo0.ott template files in extras/source/templates/foo/foo0
    • add Package_tplfoo and CustomTarget_tplfoo in Module_extras.mk
    • use other category Package_tplcategory.mk to create Package_tplfoo.mk
    • use other category CustomTarget_tplcategory.mk to create CustomTarget_tplfoo.mk
      • replace all category by foo and CATEGORY by FOO
      • add all files contained in foo0.ott (except mimetype) in extras_FOO_XMLFILES
      • if foo0.ott contains files with other extension than .xml, .rdf, .svm, .svg, .png and .jpg
        • add a CPY call at the end of the file
      • optionally, replace extension ott (4 places)