Re: Implementation of mathbb and script

2020-06-27 Thread Dante Doménech
There were two ways of implementing mathbb and script (mathcal).
First way: using additional font, faking the double stroke and sacript
characters (easy way). LO gains a default font for double stroke and script.
Second way: analyze the code in the brackets and apply to TVARIABLE and
TTEXT nodes a transformation table of symbols (find and replace all of them
until the next font change, probably the best point to implement are the
nodes). This option requires more processing, and also may be difficult
since LO utf chasers are int16 and some chars as U+1D54F 핏 may be a little
problematic. As well there are missing symbols on open symbol such as
U+1D54F which would need to be implemented.
Pros of first way: easy and fast, no additional computing required.
Everything goes on double stroke.
Pros second way: allows to choose, possibility of latex imitations and does
not close the door to that simple latex editor there's proposed on the wiki.
Those changes will also be an opportunity to update mathml, since there are
TODOs in this matter and debug it a bit (already working on it).

For the answers I get it's the second way we are taking and will mark
gerrit 97084  as abandoned
in the near future. But this will take time, so I ask for patience. The
other point is I have no idea of making fonts, I will code everything as if
the font was updated, but I'm gonna need help with the open symbol stuff.
And also, if you know how to deal with the overflow with unicode chars with
chars like U+1D54F, please let me know.

El sáb., 27 jun. 2020 a las 0:26, Thorsten Behrens ()
escribió:

> Hi *,
>
> Rene Engelhard wrote:
> > Please do not make math rely on them. They are not available in Linux
> > distributions and I will definitely not ship them in my LO packages.
> >
> In principle, those fonts would be SIL OFL, so not a blocker for
> Debian.
>
> Extra size matters of course, so just to close this discussion here
> for the moment: Regina & Dante are working on extending OpenSymbol
> instead.
>
> Cheers,
>
> -- Thorsten
> ___
> LibreOffice mailing list
> LibreOffice@lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/libreoffice
>
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Implementation of mathbb and script

2020-06-26 Thread Thorsten Behrens
Hi *,

Rene Engelhard wrote:
> Please do not make math rely on them. They are not available in Linux
> distributions and I will definitely not ship them in my LO packages.
> 
In principle, those fonts would be SIL OFL, so not a blocker for
Debian.

Extra size matters of course, so just to close this discussion here
for the moment: Regina & Dante are working on extending OpenSymbol
instead.

Cheers,

-- Thorsten


signature.asc
Description: PGP signature
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Implementation of mathbb and script

2020-06-26 Thread Rene Engelhard
Hi,

Am 25.06.20 um 03:34 schrieb Dante Doménech:
> They are needed for including mathbb and script capabilities to
> libreoffice math (absolutely needed).

No, I think the solution if you write documents with much maths is
simply LaTeX.

> external/tarballs/884ed41809687c3e168fc7c19b16585149ff058eca79acbf3ee784f6630704cc-diplomata.ttf
> external/tarballs/884ed41809687c3e168fc7c19b16585149ff058eca79acbf3ee784f6630704cc-rougescript.ttf

So that we get even more binary files which are never (re)built? Please not.

Please do not make math rely on them. They are not available in Linux
distributions and I will definitely not ship them in my LO packages.

Regards,

Rene

___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Implementation of mathbb and script

2020-06-26 Thread Ilmari Lauhakangas

Miklos Vajna kirjoitti 26.6.2020 klo 15.34:

Hi Dante,

On Thu, Jun 25, 2020 at 03:34:47AM +0200, Dante Doménech 
 wrote:

Hello, can someone tell me who can I contact to add the next files?


See core.git 3ff21b52de4047a03c4fcd82daff8aff588aebc3 for an example on
adding new fonts.


They
are needed for including mathbb and script capabilities to libreoffice math
(absolutely needed).


Please include the costs (size of the fonts) and benefits in the commit
message, it's easier to review such a proposal that way.


Quoting Regina from https://gerrit.libreoffice.org/c/core/+/97084

"I would first solve handling of the characters in subset "Letterlike 
Symbols". You will likely find help on the dev-mailing list for adding 
the missing glyphs to OpenSymbol. Most of those persons listed as 
authors in the OpenSymbol.sfd file are still active for LibreOffice."


Ilmari
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Re: Implementation of mathbb and script

2020-06-26 Thread Miklos Vajna
Hi Dante,

On Thu, Jun 25, 2020 at 03:34:47AM +0200, Dante Doménech 
 wrote:
> Hello, can someone tell me who can I contact to add the next files?

See core.git 3ff21b52de4047a03c4fcd82daff8aff588aebc3 for an example on
adding new fonts.

> They
> are needed for including mathbb and script capabilities to libreoffice math
> (absolutely needed).

Please include the costs (size of the fonts) and benefits in the commit
message, it's easier to review such a proposal that way.

Regards,

Miklos
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Implementation of mathbb and script

2020-06-26 Thread Dante Doménech
Hello, can someone tell me who can I contact to add the next files? They
are needed for including mathbb and script capabilities to libreoffice math
(absolutely needed).

external/tarballs/884ed41809687c3e168fc7c19b16585149ff058eca79acbf3ee784f6630704cc-diplomata.ttf
external/tarballs/884ed41809687c3e168fc7c19b16585149ff058eca79acbf3ee784f6630704cc-rougescript.ttf
instdir/share/fonts/truetype/diplomata.ttf
instdir/share/fonts/truetype/rougescript.ttf
workdir/CustomTarget/extras/fonts/diplomata.ttf
workdir/CustomTarget/extras/fonts/rougescript.ttf
instdir/program/resource/common/fonts/diplomata.ttf
instdir/program/resource/common/fonts/rougescript.ttfs/
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice