[cairo] Problem with cairo_ft_font_face_create_for_ft_face

Daniel K. O. danielosmari at yahoo.com.br
Mon Aug 15 14:43:32 PDT 2005


I'm having problems using cairo_ft_font_face_create_for_ft_face().
I think here's something wrong with the code.

  1. @2478, cairo_ft_font_face_create_for_ft_face() --->
     _cairo_ft_unscaled_font_create_from_face();
  2. @426, _cairo_ft_unscaled_font_create_from_face() --->
     _cairo_ft_unscaled_font_init(..., NULL, ..., ...);
  3. @301, _cairo_ft_unscaled_font_init() --->
     _cairo_ft_unscaled_font_init_key(..., filename_copy, ...),
     "filename_copy" is NULL;
  4. @260, _cairo_ft_unscaled_font_init_key() ---> _cairo_hash_string
     (filename), where "filename" is NULL;
  5. _cairo_hash_string() reads from the NULL pointer.


---
Daniel K. O.


	
	
		
_______________________________________________________ 
Yahoo! Acesso Grátis - Internet rápida e grátis. 
Instale o discador agora! http://br.acesso.yahoo.com/


More information about the cairo mailing list