Skip to content

yume190/CFreeType

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CFreeType


Install

Mac

brew install freetype

Bitmap

text to bitmap

swift build
.build/debug/bitmap \
    -f "/System/Library/Fonts/Supplemental/Arial Unicode.ttf" \
    -t "ABCabc新年快樂こんにちは" \
    -s 24
      ■■■       
      ■■■       
     ■■ ■■      
     ■■ ■■      
     ■■ ■■      
    ■■   ■■     
    ■■   ■■     
   ■■■    ■■    
   ■■     ■■    
   ■■     ■■    
  ■■■■■■■■■■■   
  ■■■■■■■■■■■   
 ■■■       ■■■  
 ■■         ■■  
 ■■         ■■  
■■           ■■ 
■■           ■■ 
■■■■■■■■        
■■■■■■■■■■      
■■      ■■      
■■       ■■     
■■       ■■     
■■       ■■     
■■      ■■      
■■■■■■■■■       
■■■■■■■■■■      
■■       ■■     
■■        ■■    
■■        ■■    
■■        ■■    
■■        ■■    
■■       ■■     
■■■■■■■■■■■     
■■■■■■■■■       
     ■■■■■      
   ■■■■■■■■■    
  ■■■     ■■■   
 ■■■       ■■   
 ■■        ■■■  
■■          ■■  
■■              
■■              
■■              
■■              
■■              
■■          ■■  
 ■■        ■■■  
 ■■■       ■■   
  ■■■     ■■■   
   ■■■■■■■■■    
    ■■■■■■      
  ■■■■■■        
 ■■■■■■■■       
■■■    ■■■      
■■      ■■      
      ■■■■      
  ■■■■■■■■      
 ■■■■■  ■■      
■■      ■■      
■■      ■■      
■■■   ■■■■      
 ■■■■■■■■■      
  ■■■■   ■■     
■■              
■■              
■■              
■■              
■■              
■■ ■■■■         
■■■■■■■■■       
■■■    ■■       
■■      ■■      
■■      ■■      
■■      ■■      
■■      ■■      
■■      ■■      
■■      ■■      
■■■    ■■       
■■■■■■■■■       
■■ ■■■■         
   ■■■■         
 ■■■■■■■        
 ■■   ■■■       
■■     ■■       
■■              
■■              
■■              
■■              
■■     ■■       
 ■■   ■■■       
 ■■■■■■■        
   ■■■■         
     ■■            ■■           
     ■■        ■■■■             
     ■■     ■■■■                
 ■■■■■■■■■■ ■■                  
  ■■    ■■  ■■                  
  ■■■   ■■  ■■                  
   ■■  ■■   ■■                  
   ■■  ■■   ■■■■■■■■■■          
■■■■■■■■■■■ ■■   ■■             
     ■■     ■■   ■■             
     ■■     ■■   ■■             
     ■■     ■■   ■■             
 ■■■■■■■■■■■■■   ■■             
    ■■■ ■   ■■   ■■             
   ■■■■■■■  ■■   ■■             
   ■ ■■  ■■ ■■   ■■             
  ■■ ■■   ■■■    ■■             
 ■■  ■■    ■■    ■■             
■■   ■■    ■■    ■■             
     ■■   ■■     ■■             
     ■■    ■     ■■             
    ■                           
    ■■                          
   ■■■                          
   ■■■■■■■■■■■■■■■■             
  ■■■     ■■                    
  ■■      ■■                    
 ■■■      ■■                    
■■■       ■■                    
 ■ ■■■■■■■■■■■■■■■              
   ■■     ■■                    
   ■■     ■■                    
   ■■     ■■                    
   ■■     ■■                    
   ■■     ■■                    
■■■■■■■■■■■■■■■■■■■■            
          ■■                    
          ■■                    
          ■■                    
          ■■                    
          ■■                    
          ■■                    
          ■■                    
          ■■                    
    ■■      ■■                  
    ■■      ■■                  
    ■■      ■■                  
    ■■      ■■                  
    ■■      ■■                  
  ■■■■■■■■■■■■■■■■■             
  ■■■■■■    ■■   ■■             
  ■■■■■■    ■■   ■■             
 ■■■■■ ■■   ■■   ■■             
 ■■ ■■ ■■   ■■   ■■             
■■■ ■■ ■■   ■■   ■■             
 ■  ■■      ■■   ■■             
    ■■ ■■■■■■■■■■■■■■           
    ■■      ■■■■                
    ■■     ■■ ■■                
    ■■     ■■  ■                
    ■■     ■■  ■■               
    ■■    ■■    ■■              
    ■■   ■■     ■■              
    ■■  ■■       ■■             
    ■■ ■■         ■■■           
    ■■■■            ■■          
          ■■                    
   ■     ■■     ■               
   ■■  ■■■■■■■  ■■              
   ■■ ■■■   ■■ ■■ ■             
 ■■■  ■■■   ■■■■■ ■■            
  ■■ ■■■■   ■■ ■■■■             
   ■■■ ■■■■■■■  ■■■             
    ■■ ■■   ■■  ■■              
   ■■■ ■■   ■■  ■■■■            
  ■■ ■■■■   ■■ ■■ ■■            
 ■■■■■■■■■■■■■■■■■■■            
      ■■ ■■       ■■            
         ■■                     
 ■■■■■■■■■■■■■■■■■■■            
      ■■■■■■■■                  
     ■■■ ■■ ■■■                 
    ■■■  ■■   ■■■               
  ■■■    ■■     ■■■             
■■■      ■■       ■■■           
         ■■                     
  ■■■■■■■■■     
  ■■■■■■■■■■■■  
           ■■■  
                
                
                
                
                
  ■             
 ■■■            
 ■■             
■■■             
■■              
■■              
■■■          ■■■
 ■■■■■■■■■■■■■■■
   ■■■■■■■■■■   
         ■                      
        ■■■                     
        ■■                      
       ■■■                      
       ■■                       
      ■■                        
      ■■                        
     ■■ ■■■■                    
     ■■■■■■■■                   
    ■■■■   ■■                   
   ■■■■    ■■                   
   ■■■     ■■                   
  ■■■     ■■      ■             
  ■■      ■■     ■■■            
 ■■■      ■■    ■■■             
 ■■       ■■   ■■■              
■■■       ■■■■■■■               
 ■         ■■■■                 
  ■                             
 ■■■                            
 ■■    ■■■■■■■■■■               
 ■■    ■■■■■■■■■■               
 ■■                             
■■■                             
■■                              
■■                              
■■                              
■■                              
■■                              
■■                              
■■  ■■                          
■■ ■■■■■                        
■■■■■ ■■                        
 ■■■■ ■■                        
 ■■■■ ■■■■■■■■■■■■              
 ■■■   ■■■■■■■■■■■              
  ■■                            
      ■                         
      ■■                        
     ■■■                        
     ■■                         
     ■■     ■■■■                
■■■■■■■■■■■■■■■■                
■■■■■■■■■■■■                    
    ■■                          
   ■■■                          
   ■■                           
  ■■■■■■■■■■■                   
  ■■■■■■■■■■■■■                 
 ■■■■■■      ■■■                
  ■■          ■■■               
               ■■               
               ■■               
               ■■               
  ■           ■■■               
  ■■■■      ■■■■                
  ■■■■■■■■■■■■■                 
     ■■■■■■■■                   
  ■■        ■■                  
  ■■        ■■                  
 ■■         ■■                  
 ■■         ■■  ■■              
 ■■  ■■■■■■■■■■■■■              
 ■   ■■■■■■■■■■■                
■■          ■■                  
■■          ■■                  
■■          ■■                  
■■          ■■                  
■■          ■■                  
■■      ■■■■■■                  
■■ ■  ■■■■■■■■■■                
■■■■■■■■    ■■■■■■              
■■■■ ■■     ■■  ■■■             
■■■■ ■■     ■■   ■              
■■■■ ■■■   ■■                   
 ■■   ■■■■■■■                   
 ■■    ■■■■■                    

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published