gnu: fontconfig: Look for fonts in user profile.
* gnu/packages/fontutils.scm (fontconfig): Add configure flag.
This commit is contained in:
		
							parent
							
								
									0327ced235
								
							
						
					
					
						commit
						0ceea4f3ed
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
					@ -76,6 +76,10 @@ anti-aliased glyph bitmap generation with 256 gray levels.")
 | 
				
			||||||
   (inputs `(("expat" ,expat)
 | 
					   (inputs `(("expat" ,expat)
 | 
				
			||||||
             ("freetype" ,freetype)
 | 
					             ("freetype" ,freetype)
 | 
				
			||||||
             ("pkg-config" ,pkg-config)))
 | 
					             ("pkg-config" ,pkg-config)))
 | 
				
			||||||
 | 
					   (arguments
 | 
				
			||||||
 | 
					     `(#:configure-flags
 | 
				
			||||||
 | 
					        ;; point to user profile instead of /usr/share/fonts in /etc/fonts.conf
 | 
				
			||||||
 | 
					        `("--with-default-fonts=~/.guix-profile/share/fonts")))
 | 
				
			||||||
   (synopsis "Fontconfig, a library for configuring and customising font access.")
 | 
					   (synopsis "Fontconfig, a library for configuring and customising font access.")
 | 
				
			||||||
   (description
 | 
					   (description
 | 
				
			||||||
    "Fontconfig can discover new fonts when installed automatically;
 | 
					    "Fontconfig can discover new fonts when installed automatically;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue