Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
mdbFontSize(5)			The m17n Library		  mdbFontSize(5)

NAME
     mdbFontSize - Font Size

DESCRIPTION
     In  some  case, a font contains incorrect information about its size (typi-
     cally in the case of a hacked TrueType font), which results in a  bad  text
     layout  when  such  a  font is used in combination with the other fonts. To
     overcome this problem, the m17n library loads information	about  font-size
     adjustment  from  the m17n database by the tags <font, resize>. The data is
     loaded as a plist of this format.

     FONT-SIZE-ADJUSTMENT ::= PER-FONT *

     PER-FONT ::= '(' FONT-SPEC ADJUST-RATIO ')'

     FONT-SPEC ::=
	 '(' [ FOUNDRY FAMILY
	       [ WEIGHT [ STYLE [ STRETCH [ ADSTYLE ]]]]]
	 REGISTRY ')'

     ADJUST-RATIO ::= INTEGER

     FONT-SPEC is to specify properties of a font. FOUNDRY to REGISTRY are  sym-
     bols  corresponding  to  #Mfoundry  to  #Mregistry  property of a font. See
     m17nFont for the meaning of each property.

     ADJUST-RATIO is an integer number specifying by  percentage  how  much  the
     font-size must be adjusted. For instance, this PER-FONT:

	 ((devanagari-cdac) 150)

     instructs	the font handler of the m17n library to open a font of 1.5 times
     bigger than a requested size on opening a font whose registry  is	'devana-
     gari-cdac'.

COPYRIGHT
     Copyright (C) 2001 Information-technology Promotion Agency (IPA)
     Copyright	(C)  2001-2011 National Institute of Advanced Industrial Science
     and Technology (AIST)
     Permission is granted to copy, distribute and/or modify this document under
     the terms of the GNU  Free  Documentation	License  <http://www.gnu.org/li-
     censes/fdl.html>.

Version 1.8.4			 Mon Sep 25 2023		  mdbFontSize(5)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=mdbFontSize&sektion=5&manpath=FreeBSD+Ports+15.1.quarterly>

home | help