Kusanagi Kouichi writes:
> On 2012-04-24 13:01:04 +0200, Alexandre Julliard wrote:
>> Kusanagi Kouichi writes:
>>
>> >> You can't compare files this way, different paths can point to the same
>> >> file.
>> >
>> > This function finds font path, not file. So find_font_path would be
>> > more app
On 2012-04-24 13:01:04 +0200, Alexandre Julliard wrote:
> Kusanagi Kouichi writes:
>
> >> You can't compare files this way, different paths can point to the same
> >> file.
> >
> > This function finds font path, not file. So find_font_path would be
> > more appropriate name.
>
> What's the point
Kusanagi Kouichi writes:
>> You can't compare files this way, different paths can point to the same
>> file.
>
> This function finds font path, not file. So find_font_path would be
> more appropriate name.
What's the point of doing this if it doesn't catch identical files?
--
Alexandre Julliar
On 2012-04-23 12:11:06 +0200, Alexandre Julliard wrote:
> Kusanagi Kouichi writes:
>
> > @@ -962,6 +972,22 @@ static Family *find_family_from_any_name(const WCHAR
> > *name)
> > return NULL;
> > }
> >
> > +static Font *find_font_file(const char *file)
> > +{
> > +if (file != NULL)
>
Kusanagi Kouichi writes:
> @@ -962,6 +972,22 @@ static Family *find_family_from_any_name(const WCHAR
> *name)
> return NULL;
> }
>
> +static Font *find_font_file(const char *file)
> +{
> +if (file != NULL)
> +{
> +Font *font;
> +
> +LIST_FOR_EACH_ENTRY(font, &font