mirror of
				https://github.com/KevinMidboe/linguist.git
				synced 2025-10-29 17:50:22 +00:00 
			
		
		
		
	* .xpm and .pm extensions associated with XPM.
* .pm is disambiguated by searching the /* XPM */ string.
  This is how `file` performs detection and should work with
  every XPM3 file (most XPM generated by software later than 1991).
Added XPM samples:
* stick-unfocus.xpm: extracted from Fluxbox (MIT License)
  0c13ddc0c8/data/styles/Emerge/pixmaps/stick-unfocus.xpm
* cc-public_domain_mark_white.pm: public domain image from
  https://commons.wikimedia.org/wiki/File:Cc-public_domain_mark_white.svg
  converted to XPM with ImageMagick (convert input.svg output.xpm).
		
	
		
			
				
	
	
		
			41 lines
		
	
	
		
			768 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			41 lines
		
	
	
		
			768 B
		
	
	
	
		
			C
		
	
	
	
	
	
/* XPM */
 | 
						|
static char * stick_unfocus_xpm[] = {
 | 
						|
"20 17 20 1",
 | 
						|
" 	c None",
 | 
						|
".	c #EBEBEB",
 | 
						|
"+	c #E9E9E9",
 | 
						|
"@	c #E6E6E6",
 | 
						|
"#	c #E5E5E5",
 | 
						|
"$	c #E2E2E2",
 | 
						|
"%	c #DFDFDF",
 | 
						|
"&	c #DEDEDE",
 | 
						|
"*	c #FEFEFE",
 | 
						|
"=	c #C4C4C4",
 | 
						|
"-	c #898989",
 | 
						|
";	c #B7B7B7",
 | 
						|
">	c #6A6A6A",
 | 
						|
",	c #B9B9B9",
 | 
						|
"'	c #E4E4E4",
 | 
						|
")	c #686868",
 | 
						|
"!	c #E0E0E0",
 | 
						|
"~	c #666666",
 | 
						|
"{	c #E8E8E8",
 | 
						|
"]	c #E1E1E1",
 | 
						|
"....................",
 | 
						|
"....................",
 | 
						|
".....+@#$%&%$#@+....",
 | 
						|
"....+*********=&+...",
 | 
						|
"....@*********-=#...",
 | 
						|
"....#**;;;;;**>,'...",
 | 
						|
"....$**;**;;**);$...",
 | 
						|
"....%**;;;;;**>;&...",
 | 
						|
"....&**;***;**>;&...",
 | 
						|
"....&**;;;;;**>;&...",
 | 
						|
"....!*********~;!...",
 | 
						|
"....!*********>,&...",
 | 
						|
"....@=->)>>>)>-=#...",
 | 
						|
"....+&=,;;;;;,=&+...",
 | 
						|
".....{]%%&&&&%@+....",
 | 
						|
"....................",
 | 
						|
"...................."};
 |