You are not logged in.

#1 2021-01-13 21:30:37

Marfot
Member
Registered: 2020-11-14
Posts: 4

How can i install only 1 tex font.

i only want 1 tex font (dejavu sans), not 1gb worth of fonts from texlive-fontsextra

Is this possible to do in Arch?

Last edited by Marfot (2021-01-13 21:30:58)

Offline

#2 2021-01-13 22:12:06

loqs
Member
Registered: 2014-03-06
Posts: 12,619

Re: How can i install only 1 tex font.

Pacman#Skip_files_from_being_installed_to_system
Filtering out all the files provided texlive-fontsextra without catching files from other texlive packages you have installed and allowing dejavu may need some thought.
Another method would involve creating a custom texlive-fontsextra package with only dejavu.  That would still require downloading 500M of fonts.

diff --git a/trunk/PKGBUILD b/trunk/PKGBUILD
index dfe4155..c707751 100644
--- a/trunk/PKGBUILD
+++ b/trunk/PKGBUILD
@@ -13,11 +13,11 @@ url='http://tug.org/texlive/'
 source=("https://sources.archlinux.org/other/texlive/$pkgname-$pkgver-src.zip" "$pkgname.maps")
 options=('!emptydirs')
 sha256sums=('88a46fc20ec4522bb825aad3b8792ad1494933b2dcbeee4e6b746e1a264352fb'
-            '731a5b5a95577589243ae0b4ab54c83b62293afdf993105d099fef6fe61d8f6b')
+            '1d4df381ee2a0a65a210ab8e1169db191f223942a6351d2aa2af376188226ed1')
 
 build() {
    cd "$srcdir"
-   for p in *.tar.xz; do
+   for p in {dejavu-otf,dejavu}.tar.xz; do
 	   bsdtar -xf $p
    done
    rm -rf {tlpkg,doc,source} || true
diff --git a/trunk/texlive-fontsextra.maps b/trunk/texlive-fontsextra.maps
index 6fe1edf..42ff3c1 100644
--- a/trunk/texlive-fontsextra.maps
+++ b/trunk/texlive-fontsextra.maps
@@ -1,233 +1 @@
-Map Acorn.map
-Map Alegreya.map
-Map AlgolRevived.map
-Map AnnSton.map
-Map AnonymousPro.map
-Map ArrowsADF.map
-Map ArtNouv.map
-Map ArtNouvc.map
-Map Baskervaldx.map
-Map BaskervilleF.map
-Map BulletsADF.map
-Map Carrickc.map
-Map Chivo.map
-Map Clara.map
-Map ClearSans.map
-Map Cochineal.map
-Map Coelacanth.map
-Map ComicNeue.map
-Map ComicNeueAngular.map
-Map CormorantGaramond.map
-Map CourierOneZeroPitch.map
-Map CrimsonPro.map
-Map DSSerif.map
-Map Domitian.map
-Map EBGaramond-Maths.map
-Map EBGaramond.map
-Map ESSTIX.map
-Map ETbb.map
-Map Eichenla.map
-Map Eileen.map
-Map EileenBl.map
-Map Elzevier.map
-Map GaramondLibre.map
-Map GotIn.map
-Map GoudyIn.map
-Map Heuristica.map
-Map InriaSans.map
-Map InriaSerif.map
-Map Junicode.map
-Map Kinigcap.map
-Map Konanur.map
-Map Kramer.map
-Map LibreBaskerville.map
-Map LibreBodoni.map
-Map LibreCaslon.map
-Map LibreFranklin.map
-Map LinguisticsPro.map
-Map LobsterTwo.map
-Map MnSymbol.map
-Map Montserrat.map
-Map MorrisIn.map
-Map NotoMath.map
-Map Nouveaud.map
-Map OldStandard.map
-Map OrnementsADF.map
-Map PlayfairDisplay.map
-Map Raleway.map
-Map Romantik.map
-Map Rosario.map
-Map Rothdn.map
-Map RoyalIn.map
-Map STEP.map
-Map Sanremo.map
-Map ScholaX.map
-Map SourceCodePro.map
-Map SourceSansPro.map
-Map SourceSerifPro.map
-Map Starburst.map
-Map SticksTooText.map
-Map TXUprCal.map
-Map TheanoDidot.map
-Map TheanoModern.map
-Map TheanoOldStyle.map
-Map Typocaps.map
-Map XCharter.map
-Map Zallman.map
-Map accanthis.map
-Map almendra.map
-Map antt.map
-Map ap.map
-Map archaicprw.map
-Map arev.map
-Map arimo.map
-Map ascii.map
-Map aspectratio.map
-Map augie.map
-Map auncial.map
-Map aurical.map
-Map belleek.map
-Map bera.map
-Map beuron.map
-Map bguq.map
-Map bitter.map
-Map boondox.map
-Map cabin.map
-Map caladea.map
-Map calligra.map
-Map cantarell.map
-Map carlito.map
-Map ccicons.map
-Map cinzel.map
-Map clm.map
-Map cm-lgc.map
-Map cmathbb.map
-Map cmexb.map
-Map cmin.map
-Map cmsrb.map
-Map comfortaa.map
-Map countriesofeurope.map
-Map crimson.map
-Map cuprum.map
-Map cyklop.map
-Map dante.map
 Map dejavu-type1.map
-Map dictsym.map
-Map droidsans.map
-Map droidsansmono.map
-Map droidserif.map
-Map dstroke.map
-Map dutchcal.map
-Map epigrafica.map
-Map erewhon.map
-Map esrelation.map
-Map esvect.map
-Map fbb.map
-Map fdsymbol.map
-Map fetamont.map
-Map fge.map
-Map fira.map
-Map foekfont.map
-Map fonetika.map
-Map fontawesome.map
-Map fontawesome5.map
-Map forum.map
-Map fourier-utopia-expert.map
-Map fourier.map
-Map frcursive.map
-Map gentium-type1.map
-Map gfsartemisia.map
-Map gfsbodoni.map
-Map gfscomplutum.map
-Map gfsdidot.map
-Map gfsneohellenic.map
-Map gfssolomos.map
-Map gillius.map
-Map go.map
-Map gptimes.map
-Map hacm.map
-Map ibarra.map
-Map icelandic.map
-Map imfellEnglish.map
-Map ipaex-type1.map
-Map iwona.map
-Map josefin.map
-Map kpfonts.map
-Map kurier.map
-Map lato.map
-Map libertine.map
-Map libertinegc.map
-Map libertinus.map
-Map libertinust1math.map
-Map linearA.map
-Map marcellus.map
-Map mathabx.map
-Map mdbch.map
-Map mdgreek.map
-Map mdici.map
-Map mdpgd.map
-Map mdpus.map
-Map mdput.map
-Map mdsymbol.map
-Map mdugm.map
-Map merriweather.map
-Map miama.map
-Map mintspirit.map
-Map newpx.map
-Map newtx.map
-Map newtxsf.map
-Map newtxtt.map
-Map niceframe.map
-Map nimbus15.map
-Map noto.map
-Map oasy.map
-Map ocrb.map
-Map opensans.map
-Map overlock.map
-Map paratype-type1.map
-Map pbsi.map
-Map phaistos.map
-Map plex.map
-Map plimsoll.map
-Map prodint.map
-Map pxtx.map
-Map quattrocento.map
-Map recycle.map
-Map roboto.map
-Map rsfso.map
-Map sansmathaccent.map
-Map sansmathfonts.map
-Map spectral.map
-Map sqrcaps.map
-Map starfont.map
-Map stix.map
-Map stix2.map
-Map superiors.map
-Map svrsymbols.map
-Map tempora.map
-Map tfrupee.map
-Map tinos.map
-Map uaq.map
-Map ugq.map
-Map universalis.map
-Map ybd.map
-Map ybv.map
-Map yes.map
-Map yfrak.map
-Map yly.map
-Map yrd.map
-Map yv1.map
-Map yv2.map
-Map yv3.map
-Map yvo.map
-Map yvt.map
-Map zi4.map
-MixedMap allrunes.map
-MixedMap bbold.map
-MixedMap cmll.map
-MixedMap cmupint.map
-MixedMap hfbright.map
-MixedMap lxfonts.map
-MixedMap pigpen.map
-MixedMap semaf.map
-MixedMap trajan.map

Offline

Board footer

Powered by FluxBB