Problem 2267 - Enabling GEANT4_USE_FREETYPE leads to the installation of non-free fonts
Summary: Enabling GEANT4_USE_FREETYPE leads to the installation of non-free fonts
Status: RESOLVED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: analysis (show other problems)
Version: 10.6
Hardware: All All
: P4 minor
Assignee: Ivana Hrivnacova
URL:
Depends on:
Blocks:
 
Reported: 2020-08-14 23:40 CEST by Atri
Modified: 2020-12-14 10:14 CET (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description Atri 2020-08-14 23:40:17 CEST
Apparently, passing `-DGEANT4_USE_FREETYPE=ON` to cmake causes two non-free fonts: a) arialbd.ttf and b) helvetica.ttf to be installed into `${CMAKE_INSTALL_DATADIR}/fonts`, which seems to be contrary to what one may expect when enabling freetype font rendering.

From `source/analysis/CMakeLists.txt`:
```
if (GEANT4_USE_FREETYPE)
  install(DIRECTORY fonts/
    DESTINATION ${CMAKE_INSTALL_DATADIR}/fonts
    PATTERN ".svn" EXCLUDE
  )
endif()
```
and

```
> ls test/geant4.10.06.p02/source/analysis/fonts
> arialbd.ttf  helvetica.ttf

```

No licensing specific to these two font files are specified in the sources; therefore, assuming these are from the well-known Arial and Helvetica family respectively, they are not freely redistributable, in contrast with geant4's own license.

This is a stumbling block for us to build and provide openSUSE packages from the default repositories, and we would deeply appreciate if you could resolve or clarify this licensing situation.

Thanks.

References:
* https://en.wikipedia.org/wiki/Arial
* https://en.wikipedia.org/wiki/Helvetica
Comment 1 Atri 2020-08-21 10:25:46 CEST
Ping?
Comment 2 Ivana Hrivnacova 2020-08-21 17:29:27 CEST
Hello,

Thank you for pointing at this issue. We will investigate these licensing and let you know then.

Best regards,
Comment 3 Atri 2020-08-25 22:11:00 CEST
Thanks for your response.
Comment 4 Atri 2020-10-22 00:45:08 CEST
Any progress on this? Thanks.
Comment 5 Ivana Hrivnacova 2020-10-23 12:07:40 CEST
Hello,

We have replaced these fonts with Google open source fonts in the development version which is going to be release in the end of this year. The new fonts are included together with their copyright/license files. 

We are now preparing also the update for the next patch to 10.6.

Best regards,
Comment 6 Atri 2020-10-23 12:38:26 CEST
Hi Ivana,
That is fantastic news. Thanks for taking care of this!
Comment 7 Ivana Hrivnacova 2020-12-14 10:14:05 CET
The new Google open source fonts are now used in both 10.7 and 10.6.p03.